337 Commits

Author SHA1 Message Date
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
Saturos 6b6b9e71c8 Add "Accoridon" new component 2024-09-05 22:20:36 +02:00
lovasoa c67425e4aa new component: columns 2024-09-05 00:19:14 +02:00
lovasoa 239921d62b big_number spacing 2024-08-30 09:03:11 +02:00
lovasoa e95733e676 fix big number 2024-08-30 09:01:38 +02:00
lovasoa 00c423fb45 social previews 2024-08-28 20:51:32 +02:00
lovasoa e220742902 Fixed small display inconsistencies in the shell component with the new sidebar feature.
fixes https://github.com/lovasoa/SQLpage/issues/556
2024-08-27 23:17:45 +02:00
lovasoa 11b95b7560 fix big number without columns 2024-08-27 20:32:10 +02:00
lovasoa 8133fea4a1 big_number 2024-08-27 19:24:39 +02:00
lovasoa c8bf2d8643 new component: big_number 2024-08-27 19:10:02 +02:00
lovasoa 76aabf1c07 remove decimal places from pie chart
fix https://github.com/lovasoa/SQLpage/issues/551
2024-08-22 20:27:06 +02:00
Saturos ed26b5f1ce Correct the sidebar_theme modified on body instead of aside 2024-08-20 18:20:42 +02:00
Saturos 3ad5604677 Change the sidebar theme as "sidebar_theme" 2024-08-20 17:51:26 +02:00
lovasoa 54cb2aab41 move to the datapage.app domain 2024-08-17 20:06:26 +02:00
lovasoa 718e44e903 fix https://github.com/lovasoa/SQLpage/issues/542
This fixes the bug, but hurts performance with large lists
2024-08-17 19:48:32 +02:00
lovasoa 969bba1be9 use the main theme for the sidebar and for the main page
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
https://github.com/lovasoa/SQLpage/issues/540

@Ajotah98 : I'm open to a new pr to add a separate, documented, sidebar_theme, which falls back to the main theme when not specified
2024-08-17 18:08:40 +02:00
lovasoa d29ceb5b99 Fix https://github.com/lovasoa/SQLpage/issues/492 2024-08-16 20:20:02 +02:00
Saturos 8f3f89dca5 Merge & correct the layout of the sidebar (#523)
* remove changes to everything but the shell

* remove inline style

* formatting

* fixshell menu layout

---------

Co-authored-by: lovasoa <contact@ophir.dev>
2024-08-15 15:57:09 +02:00
lovasoa f46ccf592c add _sqlite_id to the table component
closes https://github.com/lovasoa/SQLpage/discussions/538#discussioncomment-10343842
2024-08-15 07:37:06 +02:00
lovasoa f8a737aa2b improve chart component: add time range 2024-08-14 17:08:49 +02:00
lovasoa d35c493ddf add treemap charts 2024-08-13 18:14:47 +02:00
lovasoa 38d858bd3f Fix site title underline 2024-08-12 17:42:53 +02:00
lovasoa 7a491f371c Fix small card widths not being respected
Fix https://github.com/lovasoa/SQLpage/issues/530
2024-08-12 15:40:09 +02:00
lovasoa a4ce3fab0f Allow adding a byte order mark in the CSV component
fixes https://github.com/lovasoa/SQLpage/issues/528
2024-08-12 10:08:00 +02:00
lovasoa c5392c7f90 fix csv escapes 2024-08-11 18:37:52 +02:00
lovasoa 1a83eaa669 fix https://github.com/lovasoa/SQLpage/issues/525 2024-08-11 16:19:48 +02:00