mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
2bdf0000c8
relates to #9407 # Checklist for submitter implemented UI for filtering disk encryption. This includes the view all hosts link and the filtering pills on the manage host page. **view all hosts link** ![image](https://user-images.githubusercontent.com/1153709/229105429-6f813d01-2358-4176-9ba4-c50168fb36b8.png) **Filtering manage host page** ![image](https://user-images.githubusercontent.com/1153709/229105491-ec29c9a1-f465-4548-87a6-a493ab0b817f.png) - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality |
||
---|---|---|
.. | ||
cards | ||
components/InfoCard | ||
_styles.scss | ||
DashboardPage.tsx | ||
helpers.ts | ||
index.tsx | ||
README.md |
Dashboard Notes
The dashboard is designed to contain a dynamic number of informational cards with dynamic layouts that are based on teams (if any) and device platforms (macOS, Linux, Windows).
Architecture
- Dashboard Wrapper
- Components
- Cards
Hompage Wrapper
The wrapper is a minimal file that instantiates all host values, cards, and layouts based on the team and platform selected. Cards are applied in a delcarative form, as functions, rather than components inserted in standard JSX. This is to enhance legibility as the number of cards grow.
Components
Local components that needed extracting to make the code more maintainable.
Cards
Each card design is placed in this directory. We anticipate creating more as the product gets more robust.