Commit Graph

2 Commits

Author SHA1 Message Date
Johannes Klein
1896ba558e 398 inline user component (#442)
* Use Body3 for username

* Add a11y role to user icon

* Add a11y matcher to tests

* Add snapshot test for normal state

* Fix mock user

* Rearrange test

* Update InlineUser.test.js.snap

* Update InlineUser test with i18n init

* Update UserIcon.test.js

* Replace icon components

* Update InlineUser.test.js.snap

* Different icon

* Update UserIcon.test.js

* Update snapshot tests for InlineUser

* Update InlineUser.test.js.snap
2023-04-26 11:30:52 -07:00
Johannes Klein
e57aac93f6 418 create an index.js file for importing shared components (#427)
* Update .eslintrc.js

* Create index.js

* Change Button usage in GridItem

* Replace imports

* Add strings

* Add hint prop to button

* Add a11y hint prop to EvidenceButton

* Add EvidenceButton to index

* Add a11y props to EvidenceButton

* Update UiLibrary.js

* Add a11y props to CloseButton

* Add CloseButton to index and UiLib

* Rename function

* Update string

* Add a11y props to AddObsButton

* Add Tabs to index

* Linebreak

* Add Typography to index

* Remove unused text

* Refactor UserIcon test coverage in it's own test

* Add UserIcon to index

* Add UserIcon to UiLib

* Add InlineUser to index

* Add Quality badge to index

* Update UiLibrary.js

* Remove unused component

* Change AddObsButton a11y label

* Change hint

* Use consistent uri in snapshots

* Add snapshot to InlineUser

* Fix wrong user key

* Update Tabs.test.js

* Snapshot TODO

* Update NavButton.js

* Update snapshot

* Add snapshot for active user icon

* Remove snapshot result

* Add ActivityCount to index

* Update UiLibrary.js
2023-02-04 15:18:42 +01:00