Commit Graph
100 Commits
Author SHA1 Message Date
arttu bc13c36f7f Install cypress & make npm script to open 2024-06-06 12:04:40 +03:00
arttu 6fac6ab0cb Add anon-data, dockersetup, start script. User passwords set to test 2024-06-06 11:56:47 +03:00
ShootingStar91 c24d86a40b Add Reference-selecting to staging view 2024-06-05 23:01:08 +03:00
ShootingStar91 4627c64dfa Region & Project pages fixed 2024-06-05 15:52:24 +03:00
ShootingStar91 5955aa79aa Add initial version of fields to ReferenceTab: Works, but all are textfield 2024-06-05 15:27:32 +03:00
ShootingStar91 88efdd81c3 Ref type selection 2024-06-05 14:55:56 +03:00
ShootingStar91 0ffe1e16be Fix dropdown display value not showing if its different type e.g. number/string 2024-06-05 14:55:43 +03:00
ShootingStar91 5a78192f6e Make backend for ref types 2024-06-05 14:55:16 +03:00
ShootingStar91 4f8ef156d9 Make frontend queries for reference types 2024-06-05 14:55:01 +03:00
ShootingStar91 d6c900eacc Add initial version of ReferenceDetails 2024-06-05 13:59:05 +03:00
ShootingStar91 18c1196765 Small prop adjust 2024-06-05 13:58:51 +03:00
ShootingStar91 2b9695cade Rework title showing: fade too long text, simplify 2024-06-05 13:57:46 +03:00
ShootingStar91 8b74728942 Rename type projectdetails to ProjectDetailsType 2024-06-05 13:25:56 +03:00
ShootingStar91 a8689620ad Create handy check-script in root 2024-06-05 13:25:46 +03:00
ShootingStar91 a0f540d3d4 Make timeboundreducer accept id as also number 2024-06-05 13:25:14 +03:00
ShootingStar91 3d3b429dbd Create new table: SimpleTable, which should be used in tabs when table does not need to be editable 2024-06-05 13:11:07 +03:00
arttu f6f88fbab0 Merged week 23 2024-06-04 17:22:36 +03:00
ShootingStar91 c846cb5ec5 Merge week 22: Time unit details, project, region, admin links 2024-06-03 14:01:02 +03:00
ShootingStar91 b9f99603df time unit fixes 2024-06-03 10:09:00 +03:00
arttu 969bda6a4d Fix type errors 2024-05-30 13:50:11 +03:00
arttu 94937fe9e2 Re-do editdata type: make all fields strings and optional for edit data 2024-05-30 13:34:04 +03:00
arttu 573a138edf Add notice of shared files in validators readme 2024-05-30 11:50:20 +03:00
arttu 420172d880 Fix backend renamed types 2024-05-30 09:03:43 +03:00
arttu d67df8ce3c Remove ignore rule 2024-05-30 09:03:31 +03:00
arttu 20822070c4 Add ability to disable editing fields 2024-05-30 09:01:38 +03:00
arttu a73f92c108 Fix lint error 2024-05-30 09:01:18 +03:00
arttu c7bc3dfddb Add missing bfa abs fields to agetab, adjust field width 2024-05-30 09:00:56 +03:00
arttu 2d4288097a Use time unit selector also in bfa_max 2024-05-29 23:05:38 +03:00
arttu 0d344a4778 Fix typescript errors tableview 2024-05-29 21:41:54 +03:00
arttu e1a62f5445 Add component for selecting single value from table to field 2024-05-29 21:39:46 +03:00
arttu 829a93d7fc TableView: make idfieldname optional 2024-05-29 21:39:22 +03:00
arttu fc1184ce7b Dont update idList when in selecting table 2024-05-29 20:18:55 +03:00
arttu 6db587adce Rename museum reference away from SelectingTable 2024-05-29 15:48:35 +03:00
arttu 07c754c1ab Make update tabs non-editable 2024-05-29 15:27:23 +03:00
arttu f1105f6c15 Adjust detail mode text to work better in edit and create new modes 2024-05-29 15:26:27 +03:00
arttu 55c7b2593f Refactor page definitions to their own file 2024-05-29 15:15:36 +03:00
arttu 56f0ccebcf Add title (name of item) to each detail view, rename detailtypes 2024-05-29 15:11:30 +03:00
arttu a8eff5bb34 Refactor detailview modes 2024-05-29 13:50:46 +03:00
arttu 47d33761f3 Rename referenceselection to StagingView and add some fields 2024-05-29 13:02:38 +03:00
arttu dc9c57e5a2 Add initial version of reference selection on saving 2024-05-29 12:00:56 +03:00
arttu aba08c450e Fix tsc error 2024-05-28 22:28:37 +03:00
arttu 12adb5db04 Improve validators readme 2024-05-28 22:27:04 +03:00
arttu ddec200a5e Add link to validators readme 2024-05-28 22:25:21 +03:00
arttu ec91f494e6 Rework validators, create readme for validators 2024-05-28 22:24:22 +03:00
arttu f8410fe7f4 TableView: Fix re-render loop 2024-05-28 22:23:57 +03:00
arttu 438392164a Rework EditableTable to separate data & editData 2024-05-28 19:36:40 +03:00
arttu 40bcf455ac Fix few bugs of TopBar item indexes 2024-05-28 18:37:38 +03:00
ShootingStar91 1c472e525f Minor fixes to validations 2024-05-28 15:43:14 +03:00
ShootingStar91 3c11327bad Refactor TableView to use hook; create new Page component, save search id's in list, add TopBar with previous/next buttons on DetailView 2024-05-28 14:46:44 +03:00
ShootingStar91 61e7c462bd Use bigTextField in necessary fields 2024-05-28 12:17:44 +03:00
ShootingStar91 2756f54b52 Make new function bigTextField which renders textfield as multiline version 2024-05-28 12:12:54 +03:00
ShootingStar91 ff2ba44184 Update contributing.md 2024-05-28 11:50:27 +03:00
ShootingStar91 b884137a63 Add example validator 2024-05-28 11:47:42 +03:00
ShootingStar91 91c295a3fc Remove adding new sed struct 2024-05-28 11:46:53 +03:00
arttu e789d0470b Fix types, adjust SelectingTable to work when editabletable and selectingtable have differing types 2024-05-27 22:56:09 +03:00
ShootingStar91 e5d1831f5f Merge branch 'main' into Week-21-Kari 2024-05-24 12:07:30 +03:00
ShootingStar91 a93f775c4d Make Sedimentary structure adding use EditingForm 2024-05-24 11:54:55 +03:00
ShootingStar91 f93d2e1e53 Fix EditingForm hard-coded field 2024-05-24 11:43:53 +03:00
ShootingStar91 9b9d3a47b9 Unify field widths 2024-05-24 11:43:53 +03:00
ShootingStar91 929cf36bd9 Make it possible to use validators code from frontend 2024-05-24 11:43:53 +03:00
ShootingStar91 a49808ead6 Add frontend nodemodules to dockerignore 2024-05-24 11:43:53 +03:00
arttu 2d8afe0d6b Fix backend docker 2024-05-24 11:43:53 +03:00
arttu d311f71542 Fix backend building 2024-05-24 11:43:53 +03:00
arttu 1e9d0c559a Rename FormComponents to tabLayoutHelpers and move editabletextfield to editable components file 2024-05-24 11:43:53 +03:00
arttu bf758bb62f Refactor EditingModal into its own file 2024-05-24 11:43:53 +03:00
arttu 2851b96ea9 Refactor editing components into their own file 2024-05-24 11:43:53 +03:00
arttu 1096d26280 Remove pre-commit hooks 2024-05-24 11:43:53 +03:00
arttu 06e7ea2e66 Show display value instead of raw value in dropdown/radiobutton 2024-05-24 11:43:49 +03:00
ShootingStar91 4d57e9e9ac Fix EditingForm hard-coded field 2024-05-24 11:33:47 +03:00
ShootingStar91 9b0dc94f5e Unify field widths 2024-05-23 15:08:07 +03:00
ShootingStar91 a7766b64ee Make it possible to use validators code from frontend 2024-05-23 15:07:47 +03:00
ShootingStar91 58b2e117d0 Add frontend nodemodules to dockerignore 2024-05-23 12:33:07 +03:00
arttu 73bfdf1270 Fix backend docker 2024-05-22 19:53:18 +03:00
arttu b8b0071db7 Fix backend building 2024-05-22 18:55:21 +03:00
arttu d24ed4437d Rename FormComponents to tabLayoutHelpers and move editabletextfield to editable components file 2024-05-22 18:34:10 +03:00
arttu 30cca9bbf1 Refactor EditingModal into its own file 2024-05-22 18:29:53 +03:00
arttu 2c4300eae6 Refactor editing components into their own file 2024-05-22 18:27:14 +03:00
arttu eb42fd9d60 Remove pre-commit hooks 2024-05-22 18:26:46 +03:00
arttu e2e7fd8420 Show display value instead of raw value in dropdown/radiobutton 2024-05-22 18:18:20 +03:00
arttu f9a96b9c28 Make modal height automatic 2024-05-22 14:54:18 +03:00
arttu 10742d4bba Fix changed props, remove new locality adding form in species for now 2024-05-22 14:54:18 +03:00
ShootingStar91 97d7f09f44 Wip 2024-05-22 14:54:18 +03:00
ShootingStar91 8ded817dc4 Create SelectingTable, improve EditingTable functionality 2024-05-22 14:54:18 +03:00
arttu 23d3816875 Remove unnecessary useEffect 2024-05-22 14:11:25 +03:00
ShootingStar91 6b417367e1 Improve validator 2024-05-22 10:09:02 +03:00
ShootingStar91 9ea54433de Improve detailview layout: Allow some cells to be much wider 2024-05-22 10:08:43 +03:00
ShootingStar91 8c6bcca85f Fix login & create testuser in local mode 2024-05-22 09:48:16 +03:00
ShootingStar91 6b614f2943 Remove eslint ignore 2024-05-22 09:22:29 +03:00
ShootingStar91 651f39efde Raise payload limit to 50mb 2024-05-22 09:21:46 +03:00
ShootingStar91 4e38d2d4e1 Refactor EditableTable into own file 2024-05-21 15:24:57 +03:00
ShootingStar91 18b092788b Add optional argument type to editable textField 2024-05-21 15:13:17 +03:00
ShootingStar91 65c72c0bee Loc edit: Fix bigint related error 2024-05-21 15:12:29 +03:00
ShootingStar91 602ee203da Fix ts errors 2024-05-21 11:07:49 +03:00
ShootingStar91 eb6a22f413 Add backend code for editing locality 2024-05-21 11:00:52 +03:00
ShootingStar91 6ac1623720 Add validators dir forgotten from last commit 2024-05-21 10:49:22 +03:00
ShootingStar91 2cb581148d Add frontend code for validator & writing button and locality mutation query 2024-05-21 10:48:50 +03:00
ShootingStar91 aec4fe4e1f Adjust edit component styles: dropdown label fix, width fix 2024-05-21 08:46:43 +03:00
ShootingStar91 e53110d889 Adjust vertical positions of field labels in edit mode 2024-05-20 22:57:31 +03:00
ShootingStar91 e6ba6aeea2 Fix eslint & sql db name 2024-05-20 11:12:46 +03:00
arttu 133b6e42ae Small refactor of MuseumTab 2024-05-17 12:29:41 +03:00