cesium / atomic

⚛️ De-engineered bifurcarted intranet
MIT License
39 stars 8 forks source link

refactor: add attributes to components #440

Closed joaodiaslobo closed 11 months ago

joaodiaslobo commented 11 months ago

Uses the attribute and slot features introduced in Phoenix LiveView 0.18.0 to clean up components code and make sure their usage is compile time verified.

reviewpad[bot] commented 11 months ago

AI-Generated Summary: This pull request adds attributes to different components in the AtomicWeb library. Components that are updated include Announcement, Badges, Button, Calendar and its child components, Empty, Pagination, and Table. Each of these components have new attributes added that make them more configurable, including but not limited to color, url, and id attributes. The pull request also updates how these components are used in the Activity, Announcement, Board, Calendar, Department, Organization, and Partnership views. Lastly, it corrects naming for some function calls, like render_announcement to announcement_slot in the Announcement component. There are 73 insertions and 17 deletions in 16 files.