84 Commits

Author SHA1 Message Date
Mir Bhatia 91d99dee01 Move page to /components 2026-06-12 14:01:42 +02:00
Henriette Darge 396de9362f [74625] Make project hierarchy collapsable in the global project selector (#23137)
* Use new async FilterableTreeView for global project selector

* Remove replaced angular component

* Fine tune sorting and expansion state of the new project selector

* Update primer to 0.86.1

* Add workspace information and filter results hierarchy information to project selector

* Include review feedback: Harmonize I18n keys, fix visible scope, use guarded local storage

* Add a turboFrame in the project select overlay to only load the projects when it is actually opened

* Restore BIM tab styles which were broken for a while already but the new project selector changes made it so bad that the test broke because the plus icon was overlapping the checkbox

* Clarify spec expectation
2026-06-08 08:14:47 +02:00
Alexander Brandon Coles 1c386ffa74 Refine Border Box List docs
Address follow-up review comments by using the component name, clarifying interactive ARIA behavior, and grouping usage guidance.
2026-05-21 15:11:10 +02:00
Alexander Brandon Coles 87b9373270 Remove link to low-level CollapsibleHeader docs 2026-05-21 15:04:37 +02:00
Alexander Brandon Coles ff22ca77b9 Note Blankslate in empty state docs, show 3 WPs
Mentions that `with_empty_state` renders a `Primer::Beta::Blankslate`
and accepts `title:`, `description:`, and `icon:` keywords. Bumps the
work-package preview from 2 to 3 items for visual consistency with the
other preview scenarios.
2026-05-21 12:28:35 +02:00
Alexander Brandon Coles 986dc16e77 Simplify code structure example
Drops the `title_arguments:` forward-reference to an `id` defined later
in the block. The `aria-describedby` wiring is an advanced pattern that
cluttered an introductory example.
2026-05-21 12:28:35 +02:00
Alexander Brandon Coles 5642c29986 [#75029] Document header parameters and slots
Surfaces the keywords accepted by `with_header` and its sub-slots
(`with_description`, `with_action_button`, `with_menu`) in dedicated
tables so readers do not need to inspect the component source.

https://community.openproject.org/wp/75029
2026-05-21 12:28:34 +02:00
Alexander Brandon Coles d3547a1ff0 [#75029] Document Border Box List in Lookbook
Updates Border Box references to point to higher-level Border Box List
component. Also removes old Border Box examples.

https://community.openproject.org/wp/75029
2026-05-21 12:28:34 +02:00
Henriette Darge 7dc866dfca Avoid that the status scheme is always set and status specific highlighting is ignored.
Include some further review feedback
2026-05-18 13:41:09 +02:00
Henriette Darge 91de3310bd Extend the WorkPackageCardComponent with new optionss 2026-05-13 08:51:35 +02:00
Henriette Darge 1ec3629508 Document split_view and split_create rails rendering in the lookbook 2026-05-12 08:14:35 +02:00
Henriette Darge 0868900a7b Add link to Primer component docs 2026-04-30 13:21:38 +02:00
Mir Bhatia 156bcb8320 Add SelectPanel components docs 2026-04-30 08:32:50 +02:00
Tobias Dillmann a21ba36a83 [#69596] Use better identifier for hover card templates 2026-03-26 10:27:21 +01:00
Tobias Dillmann 7222729e43 [#69596] Update lookbook documentation 2026-03-26 10:27:21 +01:00
Oliver Günther 43f961cce3 Add FullPagePromptComponent 2026-01-28 13:51:52 +01:00
Alexander Brandon Coles 5ddaedb78c [#69963] Add Lookbook page for CheckAllComponent
https://community.openproject.org/wp/69963
2026-01-14 14:17:31 -03:00
Behrokh Satarnejad 612c01ef64 [69417] Show breadcrumb with full project hierachy in Project Overview showing portfolios and programs (#21614)
* Show ancestors of the project in project overview page

* add a feature spec

* Update docs

* remove feature flag for the test

* Update modules/overviews/app/components/overviews/page_header_component.rb

Co-authored-by: Henriette Darge <h.darge@openproject.com>

* update test

---------

Co-authored-by: Henriette Darge <h.darge@openproject.com>
2026-01-13 12:50:32 +01:00
Alexander Brandon Coles d52d56b6f0 Update Lookbook docs for BorderBoxTable 2025-12-31 13:53:12 -03:00
Tobias Dillmann ca507231be [#69365] Update hover card lookbook docs 2025-12-05 17:29:48 +01:00
Tobias Dillmann ba007d2682 [#68877] Update lookbook with static hover card instructions 2025-11-26 10:40:18 +01:00
Kabiru Mwenja 2458b55c56 Introduce PageHeader editable title input selection via stimulus controller
Active on pages with editable page header titles and whereby the visit url includes
`?state=edit` in it's search params; after the input is text is selected, `state` is removed
from the url search params.
2025-11-17 17:02:46 +03:00
Behrokh Satarnejad 8e5f861e63 update docs 2025-11-12 16:13:37 +01:00
Behrokh Satarnejad 8b23b7c990 improve doc for breadcrumbs 2025-11-05 10:58:13 +01:00
Behrokh Satarnejad 8fbedfcebd add doc for breadcrumbs 2025-11-05 10:58:13 +01:00
as-op 1eed6044de fix list of enterprise ids in lookbook after openproject-token gem changes 2025-11-04 14:25:26 +01:00
Henriette Darge 11c58a59d5 Update documentation for TreeView 2025-10-06 13:50:44 +02:00
Henriette Darge c21f099670 Add image option to large upsell Banner docs 2025-09-26 11:35:26 +02:00
Henriette Darge a6a4dcd4ac Remove pagination restrictions from BorderBoxTable docs 2025-09-24 14:59:19 +02:00
Henriette Darge d83232e0f0 Bump primer 0.73.0 2025-09-24 10:08:13 +02:00
Henriette Darge 49c1db84ac [67472] Document SkeletonBox and Spinner compeontns as loading pattern (#20336)
* Document loading indicators

* Minor updates

---------

Co-authored-by: Parimal Satyal <88370597+psatyal@users.noreply.github.com>
2025-09-17 15:08:40 +02:00
Henriette Darge b82bbce7ef [64608] Document FilterableTreeView in Lookbook (#20300)
* Document FilterableTreeView in Lookbook

* Minor changes

* Wording and spacing

---------

Co-authored-by: Parimal Satyal <88370597+psatyal@users.noreply.github.com>
2025-09-17 11:12:41 +02:00
as-op bf5d66dad8 lookbook refuses to scroll to an anchor, remove for now 2025-09-16 15:46:51 +02:00
as-op ab43695ae0 [#65315] Render a plan banner for features in the docs
https://community.openproject.org/work_packages/65315
2025-09-16 15:39:51 +02:00
Henriette Darge c5f7624259 Provide better previews for the InsetBox 2025-09-15 12:55:29 +02:00
Behrokh Satarnejad 8184a0a349 update doc 2025-09-08 09:15:17 +02:00
Behrokh Satarnejad 83fdf01928 set default padding to 3 2025-09-08 08:26:37 +02:00
Behrokh Satarnejad 0b5ca5b0b0 update docs 2025-09-08 08:26:37 +02:00
Behrokh Satarnejad 9b694546e2 add documentation 2025-09-08 08:26:37 +02:00
Alexander Brandon Coles c2f418b11e Rename constant to Primer::Alpha::TreeView
Per BREAKING CHANGE in Primer View Components 0.72.0.

This component has now been accepted into the upstream Primer project.
See primer/view_components#3563.
2025-09-01 08:30:32 +01:00
Mir Bhatia 67b3a3e835 Incorporate feedback 2025-08-06 17:21:14 +02:00
Mir Bhatia 8791d7dd98 Add technical docs 2025-08-06 09:01:25 +02:00
Parimal Satyal cb47fc4e27 Minor updates 2025-08-05 17:19:44 +02:00
Parimal Satyal 78e31fd3fe Added page for 'Email Updates Mode' and more
Also updated the 'Forms' and 'How to use' pages
2025-08-05 17:19:43 +02:00
Henriette Darge b09b89d3a8 Document new breadcrumb behavior 2025-07-04 15:37:35 +02:00
Jan Sandbrink d20a6cc586 Fix typo in Lookbook 2025-06-17 08:23:49 +02:00
Oliver Günther c304da7aa2 Add helper method to wrap banner and content into one check 2025-06-12 13:59:00 +02:00
Oliver Günther 2f451d70f0 Allow wrapping content in the banner 2025-06-12 13:38:56 +02:00
Christophe Bliard 183c9324ab Fix typos in lookbook
[skip ci]
2025-06-05 09:16:01 +02:00
Oliver Günther fc88fe1b31 Large style banner 2025-05-28 13:32:30 +02:00