Commit Graph

4 Commits

Author SHA1 Message Date
github-actions[bot]
e913e0d5f3 Running lint --fix & prettier (#21515)
Co-authored-by: Dr. Lint-a-lot <garybot2@graylog.com>
2025-02-13 08:15:43 +01:00
Linus Pahl
392ed658bb Improve documentation how to handle date times in the graylog frontend. (#17007)
* Extend documentation for date time handling.

* Use h2 instead of h3 for ux patterns headlines.

* Move documentation into UserDateTimeProvider.

* Add documentation for Timestamp component.

* Extend documentation for date tiem utils and RelativeTime component.

* Improve documentation for toUTCFromTz date time util.

* Cleanup

* Fix toUTCFromTz test.
2023-10-20 11:36:23 +02:00
simonychuang
edbab47e4c Feature/no results no entities alerts (#13683)
* Handle empty cases for streams and dashboards

* Handle empty cases for alerts, outputs, sidecars, and streams

* Adding default props to remove linter hints

* Rename shared component and use in streams page

* Refactor and add usage of <NoEntitiesExist> and <NoSearchResults>

* Fix NoEntitiesExist props to fix failing tests

* correct import names

* Fix linter hints and comments

* Fix tests

* Adding markdown files and description comment for NoSearchResult

* Make changes based on PR review

* Add descriptions for components in the ux-patterns markdown file

* Fixing linter hints

* Fixing dashboard list.

Co-authored-by: Linus Pahl <linus@graylog.com>
2022-12-07 16:35:39 +01:00
Linus Pahl
ae7d57a8e4 Restructure UI documentation and add section about UX patterns. (#13555)
* Update style guide introduction.

* Remove no longer needed section about tests and code style in styleguide beacuse they are now part of the `CONTRIBUTING.md`

* Remove section about util objects, because it does not provide a benefit.

* Move setion about how to document shared components into section about shared components.

* List theme font families and sizes dynamically.

* Add section about line heights

* Adding section about UX patterns.

* Adding section about UX patterns.

* Fixing font family section.

* Fixing typos

* Visualize different font families and sizes.

* Removing `tests.md`.

* Simlify `UX Patterns` section.
2022-10-11 10:55:42 +02:00