Commit graph

20 commits

Author SHA1 Message Date
Jan Böhmer
30e3bc3153 Fixed highlight on url change for tools sidebar tree
Some checks are pending
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / build (linux/amd64, amd64, ubuntu-latest) (push) Waiting to run
Docker Image Build / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build / merge (push) Blocked by required conditions
Docker Image Build (FrankenPHP) / build (linux/amd64, amd64, ubuntu-latest) (push) Waiting to run
Docker Image Build (FrankenPHP) / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build (FrankenPHP) / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build (FrankenPHP) / merge (push) Blocked by required conditions
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2026-03-07 00:26:33 +01:00
Jan Böhmer
f95a58087b Select the respective node in the sidebar treeviews, when navigating Part-DB
When you open a category page from everywhere in Part-DB, the respective node will be opened
2026-03-06 23:23:38 +01:00
Jan Böhmer
83608fffcf Do not scroll up the sidebar when clicking on a treeview 2026-03-06 22:28:42 +01:00
Jan Böhmer
1b5eea4750 Register the unselect handler on turbo:load instead of visit, to avoid problems that the newly clicked treeview node gets unselected too. 2024-01-28 21:57:42 +01:00
Jan Böhmer
cb9e90ddc9 Load the link again when clicking a already selected treeview node, instead of just unselecting it 2024-01-28 21:48:32 +01:00
Jan Böhmer
a161e3a520 Load the link again when clicking a already selected treeview node, instead of just unselecting it
This fixes the somehow unintuitive behavior described in issue #458
2024-01-27 22:22:07 +01:00
Jan Böhmer
8018e8687b Unselect a treeview node, if the referenced page changes
Related to issue #458
2024-01-27 21:12:21 +01:00
Jan Böhmer
6081fe3295 Fixed darkmode for some elements 2023-06-20 01:01:40 +02:00
Jan Böhmer
498cc07583 Added copyright/license info to files 2022-11-29 21:21:26 +01:00
Jan Böhmer
6d1d2cd731 Use Turbo.visit for tree clicks
This now seems to work properly and respecting frames
2022-09-25 16:44:41 +02:00
Jan Böhmer
18f41e14e6 Show icons in the root node in sidebar treeviews. 2022-08-13 02:18:32 +02:00
Jan Böhmer
c5a6bbc749 Open treeview links in a new tab with a right click on a node. 2022-08-13 01:24:02 +02:00
Jan Böhmer
145aca485c Treeview OnSelect link calling now respects turbo-frames again 2022-08-13 01:15:54 +02:00
Jan Böhmer
f21cd55b2e Show badges with the number of child nodes in the admin page treeviews again. 2022-08-13 01:05:32 +02:00
Jan Böhmer
007df80b1c Use @jbtronics/bs-treeview instead of patternfy-bootstrap-treeview 2022-08-13 00:28:03 +02:00
Jan Böhmer
461de131c6 Migrated tree logic to new @jbtronics/bs-treeview package- 2022-08-07 01:55:44 +02:00
Jan Böhmer
c13245fc2d BSTreeView now rudimentaly works. 2022-08-06 04:04:06 +02:00
Jan Böhmer
a8ff18a340 Added an basic implementation of bootstrap-treeview in typescript 2022-08-06 03:40:24 +02:00
Jan Böhmer
e26f6e5394 Mark sidebar and navbar as permanent between Turbo history navigations. 2022-07-31 21:29:00 +02:00
Jan Böhmer
fc90259032 Use stimulus controller for sidebar treeviews. 2022-07-31 15:50:16 +02:00
Renamed from assets/controllers/elements/tree-controller.js (Browse further)