392 Commits

Author SHA1 Message Date
francesco-cattoglio c57d82c12a Added an option to format numbers using toLocaleString() for table columns (#807)
* Added an option to format numbers using `toLocaleString()` for table columns

* format numbers in tables

---------

Co-authored-by: lovasoa <contact@ophir.dev>
2025-02-11 23:57:18 +01:00
lovasoa 92790048bd fix markdown rendering in form
@theochr72
2025-02-11 23:56:35 +01:00
theochr72 3a03b92ffc feature/add_markdown_to_forms (#809)
add description_md to the form component

---------

Co-authored-by: Theo Cochereau <tcochereau@cosium.com>
Co-authored-by: Théo Cochereau <theotheboss@MacBook-Air-de-Theo.local>
2025-02-11 22:23:03 +01:00
lovasoa b892a72257 tablerupdate tabler 2025-02-10 23:27:39 +01:00
lovasoa 5a79514d14 make page embedding and custom layouts easier and less error prone
- The `embed` property now automatically adds the `_sqlpage_embed` parameter to the embedded page URL to render it as an embeddable fragment.
  - When an embedded page is rendered, the `shell` component is automatically replaced by a `shell-empty` component, to avoid displaying a duplicate shell and creating invalid duplicated page metadata in the response.

see https://github.com/sqlpage/SQLPage/issues/799
2025-02-10 23:04:53 +01:00
lovasoa 49f696de6f map component: support pins with description but no title 2025-02-08 23:09:56 +01:00
lovasoa 725c896603 fmt 2025-02-05 21:18:31 +01:00
lovasoa 8ba15fdcc5 form select 2025-02-05 18:06:32 +01:00
lovasoa 69b3207f04 new auto_submit parameter in the form component 2025-02-05 13:54:25 +01:00
lovasoa f58befe2b7 update dependencies 2025-02-05 13:11:44 +01:00
lovasoa 95214dfb93 fix https://github.com/sqlpage/SQLPage/issues/769#issuecomment-2582740208 2025-01-10 23:05:27 +01:00
lovasoa 6651a1b2cd Fix a bug where the table component would not add the right css classes to table cells
fixes https://github.com/sqlpage/SQLPage/issues/762
2025-01-05 23:39:01 +01:00
lovasoa df8cd48f76 Fix bug in list component
Fix a bug in the [link](https://sql-page.com/component.sql?component=link) component where the properties `view_link`, `edit_link`, and `delete_link` had become incompatible with the main `link` property.

fixes https://github.com/sqlpage/SQLPage/issues/759
2025-01-02 12:40:25 +01:00
lovasoa e17d3d0e98 add align_center to the table component
Closes https://github.com/sqlpage/SQLPage/discussions/752
2024-12-30 13:27:14 +01:00
lovasoa 521328f678 Fix an issue with radio buttons default state
fixes https://github.com/sqlpage/SQLPage/issues/751
2024-12-30 13:26:42 +01:00
lovasoa 3dd4f90c4e update tabler
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
and dry leaflet
2024-12-29 00:30:59 +01:00
lovasoa 84bc1287f1 format 2024-12-28 23:41:39 +01:00
lovasoa 2c8d14edbc When using the map component without a basemap, use a light background color that respects the theme color. 2024-12-28 23:02:52 +01:00
lovasoa 9e804ccfab improve links in lists
and improve docs
2024-12-28 22:57:45 +01:00
lovasoa 50d22992e8 tutorials 2024-12-28 12:04:19 +01:00
lovasoa 75462bd664 checked = value for checkboxes 2024-12-25 12:27:09 +01:00
lovasoa eb4c0ce4be rewrite "SQLPage versus No-Code tools" 2024-12-24 23:17:42 +01:00
lovasoa fb43436091 fmt 2024-12-24 09:59:10 +01:00
lovasoa 8ba2fd21c8 new article prop 2024-12-24 09:58:31 +01:00
Floflobel fbc4f29d7e fix cards that have embedded contents (#744)
* fix https://github.com/sqlpage/SQLPage/issues/743

* fix https://github.com/sqlpage/SQLPage/issues/743

* handle icons separately

* remove description test, since descriptions are overwritten by card embeds anyway

---------

Co-authored-by: Florian Bellencontre <fbellencontre@cosium.com>
Co-authored-by: lovasoa <contact@ophir.dev>
2024-12-22 20:41:36 +01:00
lovasoa ef82b78f38 update apex charts
fixes https://github.com/sqlpage/SQLPage/issues/733
fixes
fixes https://github.com/sqlpage/SQLPage/issues/726
2024-12-21 01:11:15 +01:00
lovasoa ad1beeae70 update apex charts 2024-12-12 18:29:18 +01:00
lovasoa b1866d5c39 readd sqlpage db file 2024-12-11 16:08:04 +01:00
lovasoa d8c25dfbfb Format 2024-12-11 16:03:02 +01:00
lovasoa 63f1ff5e6f fix apexcharts bug
See https://github.com/sqlpage/SQLPage/issues/733
2024-12-10 14:25:34 +01:00
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