138 Commits

Author SHA1 Message Date
lorefnon 0ea62650dd Fix regression causing chart height to not be respected and title not showing up 2024-01-29 13:22:24 +05:30
lorefnon 6123bff033 Revert "fix height of charts"
This reverts commit 32abc041b0.
2024-01-29 13:07:32 +05:30
lovasoa 32abc041b0 fix height of charts
fixes bug introduced in https://github.com/lovasoa/SQLpage/pull/175
2024-01-28 21:25:14 +01:00
lovasoa c760ecc396 Fix problematic intra-page links wirh the text component
see https://github.com/lovasoa/SQLpage/discussions/203
2024-01-24 23:05:08 +01:00
Lorefnon 49fd4f07d4 Support iframe embed mode (#188) 2024-01-19 17:29:42 +01:00
Lorefnon 1fa4f9364a Add id/class to the components (#182) 2024-01-12 23:05:38 +01:00
olivierauverlot f6b78222f2 New 'center' parameter to whether to center the tracking component. (#178)
* New 'center' parameter to whether to center the trakcing component.

* Merge of documentation files about tracking component

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
2024-01-08 22:48:37 +01:00
Lorefnon 99c7e02499 Support lazy-loaded content fragments in card component (#175)
* Add support for embed parameter that skips the shell layout

* Add support for cards with remote content

* Adapt js to support lazy-loaded fragments

* Add example

* Reformat & Fix lint errors

* Update query param name and add docs

* Add example

* squash migrations

---------

Co-authored-by: lovasoa <pere.jobs@gmail.com>
2024-01-05 22:17:33 +01:00
lovasoa a165e9dbc2 chart component fixes & improvements 2024-01-05 09:47:24 +01:00
lovasoa 202ebdd655 fix card component and update example 2024-01-01 15:12:37 +01:00
lovasoa c8c6b05b58 remove unnecessary whitespaces 2024-01-01 14:52:35 +01:00
lovasoa b7f2200e00 fix identation and reduce margin in breadcrumb 2024-01-01 14:35:45 +01:00
lovasoa 6cdaea3f53 add margin to breadcrumb 2024-01-01 14:31:21 +01:00
lovasoa 1a32ae8697 remove extra whitespace 2024-01-01 14:29:22 +01:00
Olivier Auverlot d41f50436a Breadcrumb component 2023-12-31 18:20:24 +01:00
olivierauverlot ead3350177 Add tracking component (#162)
* Add tracking component

* Add divider component

* Update examples/official-site/sqlpage/migrations/28_tracking_component.sql

Co-authored-by: Ophir LOJKINE <contact@ophir.dev>

* Many improvements (color and title attributes, width of the component, spacing between items)

* New example with no optional parameters

* Empty lines removed

* Refactoring

* add newcomponents to changelog

* reduce margin in tracking component

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
2023-12-29 22:54:43 +01:00
lovasoa 2c2acc3e08 Fix small display issue on cards without a title 2023-12-13 18:00:27 +01:00
lovasoa 4a4d1986fe disable series alignment for line charts
apexcharts handles unaligned series correctly

fixes https://github.com/lovasoa/SQLpage/issues/149
2023-12-12 05:48:38 +01:00
lovasoa f882797c4d new attributes in the datagrid component 2023-12-10 14:39:56 +01:00
lovasoa 3fe3a88161 new icons 2023-12-10 11:44:23 +01:00
lovasoa 35e945011d add an example for heatmaps 2023-12-09 15:13:08 +01:00
lovasoa 3bc76da105 selected in multiselect options
see https://github.com/lovasoa/SQLpage/discussions/147
2023-12-07 00:45:34 +01:00
lovasoa 51f58400a9 new configuration option: environment
allows hiding errors from users

closes https://github.com/lovasoa/SQLpage/issues/145

Thanks to @demogit-code
2023-12-04 00:27:15 +01:00
lovasoa a6bdec7cb2 Fix bad contrast in links in custom page footers. 2023-12-03 19:55:41 +01:00
lovasoa a7d6bd7a6c images in lists 2023-12-03 19:50:18 +01:00
lovasoa f5cf86875c change breakpoints in the hero component 2023-12-03 19:25:05 +01:00
lovasoa fa7369be58 add images to data grids 2023-12-03 19:20:00 +01:00
lovasoa c67f3266a1 small usability improvements 2023-12-01 01:28:33 +01:00
lovasoa 8e69339a6d update icons 2023-11-28 00:27:38 +01:00
lovasoa ea078188e4 responsive design in the card component 2023-11-27 23:00:47 +01:00
lovasoa 76b835eee8 fix a bug with input number min 2023-11-26 13:42:31 +01:00
Ophir LOJKINE 8216313fc9 http/2 and automatic https (#140)
* better docs for multi-select

* wip

* fix bug in corporate conundrum demo

* update dependencies

* Fix bug with variable assignment

fixes #138

* Files (#139)

* document future file functions

* make forms multipart when they contain a file field

* extract http request data reading logic

* start work on file upload

* multipart post data parsing

* millisecond precision in logs

* implement customizable upload file size limits

* wip: add file handling functions

* file handling pseudo-functions

* clippy

* fmt

* Add file upload functionality to changelog

* fix example

* update datetime parsing

* add support for samesite cookies and document cookie expiration

* add support for https

* clippy

* ignore certs

* revert changes to default config

* changelog
2023-11-25 12:55:21 +01:00
Ophir LOJKINE 332420bc18 Files (#139)
* document future file functions

* make forms multipart when they contain a file field

* extract http request data reading logic

* start work on file upload

* multipart post data parsing

* millisecond precision in logs

* implement customizable upload file size limits

* wip: add file handling functions

* file handling pseudo-functions

* clippy

* fmt
2023-11-24 23:49:53 +01:00
Ophir LOJKINE 23f834de71 null variables (#136)
* update dependencies

* Add support for resetting variables to a `NULL` value using `SET`. Previously, storing `NULL` in a variable would store the string `'null'` instead of the `NULL` value.
2023-11-19 20:09:18 +01:00
lovasoa 499b9f11db improve form hidden fields
fixes https://github.com/lovasoa/SQLpage/issues/130
2023-11-16 01:03:11 +01:00
lovasoa 0f47496e73 update icons 2023-11-16 01:02:30 +01:00
lovasoa e4bb792f2b Improve map component
customizable tile
source, attribution, and max zoom.

Update embedded SQLite to version
3.44.
2023-11-12 20:30:04 +01:00
lovasoa b619c836b1 customize top navigation links and to create submenus in shell 2023-11-11 02:25:39 +01:00
lovasoa c7351f5095 map : better geojson point support 2023-11-11 01:24:41 +01:00
lovasoa dca73e52fa fix geojson passed as strings to the map component
fixes #129
2023-11-10 18:33:47 +01:00
lovasoa 17681fb672 add support for geojson in the map component
this adds support for new geometries, including polygons

Closes https://github.com/lovasoa/SQLpage/issues/119
2023-11-07 23:52:38 +01:00
lovasoa 94c04d8a4c custom marker icon and color in the map component 2023-11-07 01:07:40 +01:00
lovasoa ec0e580a95 Form submission with button component. #113 2023-11-06 23:07:55 +01:00
lovasoa 6efdf206fb document custom component creation 2023-11-06 01:35:21 +01:00
lovasoa cb440827bd docuementation + fix width 2023-11-02 23:23:12 +01:00
William Cronje 8ab25c81b6 Update form.handlebars 2023-10-30 10:26:45 +02:00
William Cronje 3677fa36e9 Update form.handlebars 2023-10-30 09:56:26 +02:00
William Cronje ecddc47402 Update form.handlebars 2023-10-30 09:55:02 +02:00
lovasoa 4d0b4e867c new align_right attribute in the table component
fixes #115
2023-10-26 02:34:47 +02:00
lovasoa aeaa8b279e add a new footer_link property to cards 2023-10-26 01:58:40 +02:00