512 Commits

Author SHA1 Message Date
lovasoa 350b4b94b9 update apexcharts 2024-12-09 21:41:34 +01:00
lovasoa 5ff3b50aa5 Fix a bug with stacked bar charts
Fix #727
2024-12-09 11:12:17 +01:00
lovasoa 0d51d52393 not on a personal repo anymore 2024-12-06 21:42:55 +01:00
lovasoa c73ff58fc3 Fix a bug where the table component would not sort columns that contained a space in their name
Fixes https://github.com/sqlpage/SQLPage/issues/724
2024-12-06 10:36:43 +01:00
lovasoa a4403eb780 fix https://github.com/sqlpage/SQLPage/issues/719 2024-11-28 22:32:09 +01:00
lovasoa b1da4d6aea sql.datapage.app -> sql-page.com 2024-11-26 23:26:09 +01:00
lovasoa dc9353bd64 fix searchable select bug
In forms with a searchable select dropdown, the search field now resets itself after an item is selected, to let the user easily select another item.

Fixes https://github.com/sqlpage/SQLPage/issues/706
2024-11-23 00:42:27 +01:00
Xylle d18954ec8a add empty_option to the form component (#694)
* Update form.handlebars

Add empty option to select

* Update 01_documentation.sql

Add documentation

* Update examples/official-site/sqlpage/migrations/01_documentation.sql

* Update sqlpage/templates/form.handlebars

* add empty_option example

* empty_option

---------

Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
2024-11-17 11:13:23 +01:00
lovasoa da4b00522a fix https://github.com/sqlpage/SQLPage/issues/610 2024-11-14 23:00:24 +01:00
lovasoa 16388afe82 fmt css 2024-11-13 23:53:55 +01:00
lovasoa c5d45c8144 Add support for freeze_columns and freeze_headers in the table component
fixes https://github.com/sqlpage/SQLPage/issues/683
2024-11-13 23:53:19 +01:00
lovasoa 3f51185b12 change_percent without description in the big_number
fix https://github.com/sqlpage/SQLPage/issues/688
2024-11-13 22:41:12 +01:00
lovasoa ef1825ba4c Fixed misaligned loading spinner in the card component when the card is loading embedded content. 2024-11-13 11:48:49 +01:00
lovasoa 0008f3b7f8 fixed embedded chart double-initialization
Fixed a bug where embedded card contents would be initialized multiple times, potentially causing issues with some components (such as the chart component) when embedded in a card.
2024-11-13 11:46:41 +01:00
lovasoa 7baec5537d table component bugfix 2024-11-10 16:52:49 +01:00
lovasoa c94c13f313 Remove small blank padding around tables in the table component 2024-11-10 16:45:12 +01:00
lovasoa 7faadf3967 Fixed a display bug where the table search box would disappear when scrolling horizontally in a large table. 2024-11-10 15:58:20 +01:00
lovasoa b92f990af2 fix js bug introduced by biome 2024-11-05 22:41:45 +01:00
lovasoa b783c6e52a check for chart errors 2024-11-05 22:38:25 +01:00
lovasoa 6081c9ff9f add biome linting and formatting for a consistent style and easier contributions
this should prevent useless conflicts
2024-11-05 21:03:20 +01:00
lovasoa ebf19aa7fe add linting and formatting in CI 2024-11-05 18:33:55 +01:00
lovasoa f82bfbc2af Add support for null as item in the columns component to skip the display of an item. Add support for markdown in the json component
closes https://github.com/sqlpage/SQLPage/issues/646
closes https://github.com/sqlpage/SQLPage/issues/642
closes https://github.com/sqlpage/SQLPage/issues/641
2024-11-05 18:30:29 +01:00
lovasoa 6fa7a59198 Fixed a bug where select dropdown fields would retain their state when their form is reset.
fixes https://github.com/sqlpage/SQLPage/issues/672
2024-11-04 16:20:21 +01:00
lovasoa 64546c47ad Update charting library and fix chart bugs
fixes https://github.com/sqlpage/SQLPage/issues/659
2024-11-01 16:38:34 +01:00
lovasoa 6c94a5d787 fix a bug where table sorting would break if table search was not also enabled
CI / compile_and_lint (push) Has been cancelled
CI / test (mssql) (push) Has been cancelled
CI / test (mysql) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
CI / docker_build (linux/amd64) (push) Has been cancelled
CI / docker_build (linux/arm/v7) (push) Has been cancelled
CI / docker_build (linux/arm64) (push) Has been cancelled
CI / docker_push (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / Build AWS Lambda Serverless zip image (push) Has been cancelled
Create Release / Create Github Release (push) Has been cancelled
Create Release / Publish to crates.io (push) Has been cancelled
fixes https://github.com/sqlpage/SQLPage/issues/660
2024-11-01 00:01:48 +01:00
lovasoa 7d95488344 new icons 2024-10-30 16:14:43 +01:00
lovasoa 84a938f876 improve table search and sort
this reimplements table searching and sorting from scratch inside sqlpage instead of using the (unmaintained and buggy) list.js library

this makes the sqlpage js smaller and faster to load

this improves table filtering speed

this fixes incorrect sorting when using markdown links

fixes https://github.com/sqlpage/SQLPage/issues/576
2024-10-27 23:34:37 +01:00
lovasoa 98afe59959 SEO 2024-10-27 00:12:50 +02:00
lovasoa 092678f8f1 fix extra separator at the end of each line in csv component
thanks @mtt-artis for reporting the issue

https://github.com/sqlpage/SQLPage/pull/608#issuecomment-2439444243
2024-10-27 00:01:21 +03:00
lovasoa e20f641217 carousel improvements
Allow setting image width and height in carousels, in order to avoid differently sized images to cause layout janking when going through them.
2024-10-22 16:12:48 +02:00
lovasoa cf86a226ef Fix autoplay of carousels when embedded in a card
fixes https://github.com/sqlpage/SQLPage/issues/647
2024-10-19 23:21:26 +02:00
lovasoa 92fec205b5 New initial_search_value property in the table component to pre-fill the search bar with a value. This allows to display the table rows that will initially be filtered out by the search bar. 2024-10-19 22:16:46 +02:00
lovasoa dd94371c44 fix https://github.com/lovasoa/SQLpage/issues/621 2024-10-04 09:23:42 +02:00
Siju Joseph 9412033450 feat: open a new tab when clicking on the menu and submenu. 2024-10-01 13:56:44 +02:00
lovasoa 7cc40e528c fixed a bug where the mobile menu would display even when no menu items were provided 2024-09-25 20:41:53 +02:00
lovasoa 38dbde4ca0 fix https://github.com/lovasoa/SQLpage/discussions/600 2024-09-24 22:39:57 +02:00
lovasoa ce1b59f7d1 fix slight misalignment and sizing issues of checkboxes and radio buttons
fix https://github.com/lovasoa/SQLpage/discussions/613
2024-09-23 20:52:27 +02:00
lovasoa aecf3f1c89 **divider component**: Add new properties to the divider component: link, bold, italics, underline, size.
https://github.com/lovasoa/SQLpage/discussions/617
2024-09-23 11:37:56 +02:00
lovasoa 5737b8d18e fix for multiple foldables on the same page
https://github.com/lovasoa/SQLpage/discussions/594#discussioncomment-10666894
2024-09-19 00:25:11 +02:00
lovasoa 3581a66893 Fix https://github.com/lovasoa/SQLpage/discussions/594 2024-09-16 14:09:46 +02:00
lovasoa 555519ee34 fix blue color in charts 2024-09-15 14:56:28 +02:00
lovasoa cecd6eabb9 increase top margin 2024-09-13 23:00:36 +02:00
lovasoa 98fea39057 when the top menu is fixed to avoid a double margin. 2024-09-13 15:29:28 +02:00
lovasoa 21b5771943 reduce top margin in shell 2024-09-13 15:26:37 +02:00
lovasoa 5453dbc324 re-add missing font property
fixes https://github.com/lovasoa/SQLpage/issues/587
2024-09-13 11:21:50 +02:00
Andrews Innovations 9896c91d1d Fix textarea and select components ignoring class attribute
How to use:

select 'form' as component;

-- should have a big margin below and a padding
select
  'select' as type,
  'Test Label' as label,
  'mb-4 p-3' as class,
  '[{"label":"Test Label","value":"test"}]' as options;

select 'test' as name;

-- should have a big margin before and a big margin after
select 'textarea' as type, 'mb-4 mt-4' as class;

select 'test2' as name;
2024-09-09 17:34:49 -05:00
lovasoa 35d729b96b improve the display of big_number on mobile
fixes https://github.com/lovasoa/SQLpage/issues/573#issuecomment-2334570366
2024-09-07 18:38:16 +02:00
lovasoa f7d6a410b5 improve big_number on mobile 2024-09-06 21:08:14 +02:00
lovasoa 1ece8821bc navbar_title + fix shell navbar layout when a page has no title
fixes https://github.com/lovasoa/SQLpage/issues/566

thanks @alexisrc1
2024-09-06 17:30:49 +02:00
lovasoa 38a70a1406 rename accordion to foldable and harmonize it with other components
See #550
2024-09-05 22:37:01 +02:00