Commit Graph

16 Commits

Author SHA1 Message Date
Ryan Stelly
b78be9243d lint rule & autofix for "trailing comma" (#3299)
* (lint) MOB-1063 enforce trailing commas

* autofix trailing commas

* manually fix newly introduced maxlen violations

* add trailing comma convention to i18n build
2025-12-22 20:17:13 -06:00
sepeterson
ebaf672a20 Merge branch 'main' into mob-722-pt2 2025-12-18 10:35:53 -06:00
sepeterson
722edb2928 MOB-722: toBeVisible 2025-12-18 10:34:31 -06:00
sepeterson
8839c21c3a MOB-722: photo section test fixes 2025-12-18 10:20:26 -06:00
sepeterson
eb0191f2f5 MOB-722: toBeVisible 2025-12-17 13:24:28 -06:00
sepeterson
0558de720c MOB-722: unneeded beforeAll 2025-12-15 16:03:29 -06:00
sepeterson
92240bcb70 MOB-722: unclear wording 2025-12-15 15:41:08 -06:00
sepeterson
85163958ed MOB-722: unneeded mock 2025-12-15 15:38:36 -06:00
sepeterson
42c7beab45 MOB-722: unneeded beforeall 2025-12-15 15:33:44 -06:00
sepeterson
40a7f912dd MOB-722 use a test taxon where the common name does not contain the scientific name 2025-12-15 15:26:20 -06:00
sepeterson
4f54996951 MOB-722 saved match unit tests part 2 2025-12-12 15:44:55 -06:00
sepeterson
282fcf9c21 MOB-722 match unit tests part one 2025-12-11 17:11:03 -06:00
Corey Farwell
a43446909c Remove the need to specify TypeScript file extensions in imports (#3094)
* Don't require TS extensions in imports

* Resolve all import extension errors

* Remove file extension from import paths used in mocks

* Remove .d of type definition file paths

* Remove .d of type definition file and import as type

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-09-07 23:41:42 +02:00
budowski
46ea4ea4af MOB-711 - add location for better IDs change (#2965)
* MOB-711 - add location for better IDs change

* Various fixes according to PR feedback

* Make button fill all available space

* Change padding to margin

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-07-08 23:23:41 +02:00
Johannes Klein
d1398a4d29 Add UI for match screen not identifying (#2728)
* Alternative return for match screen in absence of suggestion

* Add lower part text elements

* Add margin at bottom

* Copy code to make a new suggestions scrll for iconic taxa

* Removing not needed properties of the copied code

* Remove log

* Remove width constraints

* Add a state to track selected iconic taxon

* Comment and code style

* Pass prop down to taxa scroll

* Use new props in iconic taxa scroll

* Color border according to selected state

* Use iconic taxon as top ID if none given

* Remove testing code

* Update Match.test.js
2025-03-07 19:42:38 +01:00
Johannes Klein
626fbfd94f Full screen loading state on match screen (#2717)
* Build UI for loading state between AI->Match

* Make designs for AI loading screen match Figma

* Selective changes from bf872e2d4f

* Selective changes from 9ed81f99c7

* Selective changes from 4bc7c3474f

* Selective changes from 4916cf70fb

* Replace loading state from store with props

* Add some types

* Make component agnostic of what skipping does

* Remove debug info

* Add more debug data

* Elongate loading state if online errors out and offline is still loading in sequence

* Remove underline

This classname had no effect as far as I can tell.

* Hide skip button when it has no function

* Remove a comment that slipped through partial cherry-picking

* Split apart online and offline fetch status

Weird but even though they start in sequence it happened to me that online error was received after offline was fetched successfully. So, Let's split apart online and offline loading state.

---------

Co-authored-by: Amanda Bullington <albullington@gmail.com>
2025-03-07 11:50:49 +01:00