Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(interview): Reuse datasets and values [5] #1188

Draft
wants to merge 133 commits into
base: 2.3.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
00404bd
Move projects js assets to projects directory
jochenklar Aug 25, 2024
0845d6d
Add fonts and images for core assets
jochenklar Aug 25, 2024
394e51f
Add actions/api/reducers for config settings, templates, pending and …
jochenklar Aug 25, 2024
2d3030d
Add HTML component to core assets
jochenklar Aug 25, 2024
7c91ac0
Add Pending component to core assets
jochenklar Aug 25, 2024
36a7f40
Refactor meta.js in core assets
jochenklar Aug 25, 2024
8492f12
Add postFormData to BaseApi
jochenklar Aug 25, 2024
992da78
Add base.js to core assets
jochenklar Aug 25, 2024
f8fbf2b
Add templates api
jochenklar Aug 25, 2024
695aa81
Update gitignore
jochenklar Aug 25, 2024
2abe86c
Add scss files to core assets and update webpack.config.js accordingly
jochenklar Aug 25, 2024
b008603
Remove fonts from core static
jochenklar Aug 25, 2024
abb3a50
Update .gitignore
jochenklar Aug 25, 2024
50dd90d
Refactor Modal.js
jochenklar Aug 25, 2024
b2815b5
Remove defaultProps from Html.js
jochenklar Aug 25, 2024
7562239
Add store.js to core assets
jochenklar Aug 25, 2024
515a365
Add project_interview view and refactor webpack config
jochenklar Mar 12, 2024
ac91301
Add lint script to package.json
jochenklar Mar 14, 2024
60eae1d
Move Pending container to core/assets
jochenklar Mar 14, 2024
3f222c3
Add react/redux setup for interview
jochenklar Mar 14, 2024
1de4370
Add breadcrumb, overview, progress, buttons and navigation to interview
jochenklar Mar 15, 2024
89cbd36
Add location handling and refactor
jochenklar Mar 25, 2024
d961a8b
Add TemplateAPI and help to sidebar in interview
jochenklar Apr 2, 2024
cecfdc5
Add Page, Question, QuestionSet and widgets components
jochenklar Apr 2, 2024
209eff6
Add Widgets and refactor actions and front end data model
jochenklar Apr 23, 2024
7b2c3f2
Fix DateWidget
jochenklar Apr 26, 2024
7b2d019
Fix focus for multiple questions
jochenklar Apr 26, 2024
fdd3bd1
Add CREATE_VALUE action and fix range, file and checkbox widget
jochenklar Apr 26, 2024
fe195b1
Refactor value filtering and remove _attribute from serializer again
jochenklar Apr 29, 2024
bd6b70d
Move AddValue and RemoveValue components and add useFocusEffect
jochenklar Apr 29, 2024
fb64bfe
Implement QuestionSets in react front-end (and more...)
jochenklar Apr 29, 2024
c8f3e48
Add link to new interview
jochenklar Apr 29, 2024
6f6c7df
Add isDefault to new front-end and reorganize files
jochenklar Apr 29, 2024
8e5e76b
Add QuestionEraseValue component
jochenklar Apr 29, 2024
31196f2
Add optional badge
jochenklar Apr 30, 2024
dcc0242
Reorganize interview store, components and add read_only view
jochenklar Apr 30, 2024
58764e3
Add "done" page to interview
jochenklar Apr 30, 2024
cbc9fcb
Add option providers into new react front end and add markdown
jochenklar May 1, 2024
d71fe99
Add set_collection to react front end
jochenklar May 1, 2024
9baadfe
Add component for project errors
jochenklar May 1, 2024
6c5b8b2
Add error handling to react front end
jochenklar May 1, 2024
4b479a7
Restore project_questions.scss
jochenklar May 1, 2024
da4ab0f
Fix navigation tests
jochenklar May 1, 2024
b0a3eda
Move widget directory in interview app
jochenklar May 3, 2024
eb052c5
Refactor styles in interview and fix range widget
jochenklar May 3, 2024
1d6dad3
Refactor file widget
jochenklar May 3, 2024
0187d31
Update date picker in interview
jochenklar May 3, 2024
06183f9
Submit PageHeadFormModal when pressing enter
jochenklar May 3, 2024
11721d7
Add back flag to fetchPage action
jochenklar May 3, 2024
1f7890b
Check isManager in interview
jochenklar May 3, 2024
39dc5f4
Cleanup components
jochenklar May 3, 2024
cf57375
Update project progress in interview
jochenklar May 3, 2024
7649385
Fetch navigation after storeValue etc in interview
jochenklar May 3, 2024
8175528
Add resolve conditions to new front-end
jochenklar May 4, 2024
128a785
Fix navigation style
jochenklar May 4, 2024
00109fe
Refactor Widgets again and add units to interview
jochenklar May 4, 2024
e16aab5
Add async mode to SelectWidget and remove AutocompleteInput
jochenklar May 5, 2024
fe0b18d
Fix SelectWidget
jochenklar May 6, 2024
4f72cd5
Add createable select to replace freeautocomplete
jochenklar May 6, 2024
9acdab4
Add refresh to storeValue and deleteValue
jochenklar May 6, 2024
41a2257
Fix file input
jochenklar May 13, 2024
1be9798
Store unit and value_type in new front-end
jochenklar May 13, 2024
12df3d0
Fix page issues and add error handling for page values
jochenklar May 13, 2024
cc2965f
Fix navigation in interview
jochenklar May 13, 2024
9ac466c
Store default values when fetching page
jochenklar May 13, 2024
68969cd
Handle delete value and set errors
jochenklar May 14, 2024
49b1407
Update delete set api to delete descendants values
jochenklar May 14, 2024
0794493
Fix init page and storing of default values
jochenklar May 14, 2024
4e531c2
Fix focus in interview
jochenklar May 17, 2024
b0b86e5
Disable onMenuOpen in interview for now
jochenklar May 17, 2024
50e2086
Update package.json and package-lock.json (after rebase)
jochenklar Aug 25, 2024
b9b5ac2
Update meta location (after rebase)
jochenklar Aug 25, 2024
ae711de
Fix imports (after rebase)
jochenklar Aug 25, 2024
c4b58d3
Fix remove dist from static urls
jochenklar Aug 25, 2024
40b8bdb
Add interview endpoint to webpack.config.js again (after rebase)
jochenklar Aug 25, 2024
73a8e88
Refactor Template to Html component and add page/questionset/question…
jochenklar Aug 1, 2024
7ee6957
Add type validation to interview
jochenklar Jun 21, 2024
46bb964
Refactor config redux store
jochenklar Aug 2, 2024
5246fc1
Add pending redux store and refactor interview and project actions
jochenklar Aug 2, 2024
ff39e9c
Add success indicator to values and refactor updateValue action and w…
jochenklar Aug 6, 2024
4c9b4b5
Add pendig flag to values
jochenklar Aug 15, 2024
c4d4499
Fix valueIndex computation
jochenklar Aug 15, 2024
d0a4547
Fix value comparison
jochenklar Aug 15, 2024
bb4fc40
Update useModal use (after rebase)
jochenklar Aug 25, 2024
badcbbb
Update modals (after rebase)
jochenklar Aug 25, 2024
a262c8a
Add section progress to new interview
jochenklar Jun 21, 2024
7e5fefc
Fix typos
jochenklar Aug 25, 2024
a211464
Fix test (after rebase)
jochenklar Aug 25, 2024
f518dd2
Add visibility to projects
jochenklar Aug 15, 2024
bc01730
Fix ProjectUpdateInformationForm
jochenklar Aug 16, 2024
8e75ac0
Refactor project tests for internal projects
jochenklar Aug 16, 2024
18949eb
Update projects test fixture
jochenklar Aug 16, 2024
be2dea7
Fix migration and test (after rebase)
jochenklar Aug 25, 2024
f017685
Fix set creation
jochenklar Aug 16, 2024
365ad23
Fix valueIndex computation, again
jochenklar Aug 16, 2024
c94680c
Fix CheckboxInput component
jochenklar Aug 16, 2024
0fe1b55
Fix interviewReducer
jochenklar Aug 16, 2024
54f887a
Add copyValue action to interview
jochenklar Aug 16, 2024
498ae19
Check siblings for copyValues and use copyValues for all is_collectio…
jochenklar Aug 20, 2024
8fea539
Add copySet action to interview
jochenklar Aug 19, 2024
66c65d6
Add copy_set function to ProjectValueViewSet
jochenklar Aug 20, 2024
ebdcb8b
Update tests
jochenklar Aug 20, 2024
40a8e80
Add copy_set function to question sets
jochenklar Aug 20, 2024
01d9ef8
style(projects): autofix typos
MyPyDavid Nov 7, 2024
a96d85c
Add import function to create set modal on pages
jochenklar Nov 7, 2024
271d1d9
Add separate search endpoint for values and use AsyncSelect in PageHe…
jochenklar Nov 8, 2024
9eda9d9
Fix errors after rebase
jochenklar Nov 8, 2024
30194d2
Add error handling to copy-set action and fix/add tests
jochenklar Nov 8, 2024
80e5ef9
Improve PageHeadFormModal
jochenklar Nov 8, 2024
e88a844
Add import function into existing set
jochenklar Nov 8, 2024
4dff50f
Update/fix tests
jochenklar Nov 8, 2024
8f9f3a6
Rename import/copy answers to reuse answers
jochenklar Nov 9, 2024
b9a547a
Fix copy_set action and update tests
jochenklar Nov 9, 2024
ef84164
Add reuse value modal for questions
jochenklar Nov 9, 2024
6ed31f2
Add reuse value model to checkboxes
jochenklar Nov 10, 2024
c8de022
Add project filter to reuse value modal
jochenklar Nov 10, 2024
30e3742
Add useLsState hook and use it to store reuse modal information
jochenklar Nov 10, 2024
40208cd
Fix page component
jochenklar Nov 10, 2024
6c5e2f3
Fix react select error state
jochenklar Nov 10, 2024
e4d35a3
Fix reuse modal
jochenklar Nov 10, 2024
9d25784
Add tests for value search endpoint
jochenklar Nov 10, 2024
0a6abff
Fix QuestionSetCopySet component
jochenklar Nov 10, 2024
29dbaa5
Fix Page component
jochenklar Nov 10, 2024
8055cb6
Refactor interview modals
jochenklar Nov 10, 2024
71d4b84
Fix Value model
jochenklar Nov 10, 2024
7984080
Fix typo
jochenklar Nov 11, 2024
d88ad3e
Update .gitignore
jochenklar Nov 12, 2024
24f6831
Fix radio input
jochenklar Nov 12, 2024
3966d34
Fix search component
jochenklar Nov 12, 2024
87aa8c5
Add set label to search component
jochenklar Nov 14, 2024
fbbe3dc
Add project_interview_sidebar template
jochenklar Nov 14, 2024
c0eecfa
Fix SelectWidget
jochenklar Nov 14, 2024
4ca340d
Add append to reuse value functionality
jochenklar Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
__pycache__
*.pyc
*~
*.swp
.DS_Store

testing/config/settings/local.py
testing/log/
.pytest*/
Expand All @@ -6,19 +12,12 @@ static_root
media_root
components_root

docs/_build*

__pycache__
*.pyc
*~
*.swp
.DS_Store
.ruff_cache

env
env2
env3

Makefile

.coverage
.coverage.*
htmlcov
Expand All @@ -32,12 +31,18 @@ dist
.imdone/

.pytest_cache
.ruff_cache
.on-save.json

rdmo/management/static

rdmo/projects/static/projects/js/projects.js
rdmo/core/static/core/js/base.js*
rdmo/core/static/core/fonts
rdmo/core/static/core/css/base.css

rdmo/projects/static/projects/js/interview.js*
rdmo/projects/static/projects/js/projects.js*
rdmo/projects/static/projects/fonts
rdmo/projects/static/projects/css/projects.css
rdmo/projects/static/projects/css

screenshots
Loading
Loading