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

Feature: Implement the new upload ontology form #292

Merged
merged 351 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
351 commits
Select commit Hold shift + click to select a range
af7d3ef
use inline svg in file input loader component
Bilelkihal Jul 11, 2023
0a29151
add hint to text input component
Bilelkihal Jul 11, 2023
87795bd
add error state to input field component
Bilelkihal Jul 11, 2023
a212dbc
add helper text to input field component
Bilelkihal Jul 11, 2023
be87d9e
add notes to input field component to explain how to use it
Bilelkihal Jul 11, 2023
b3d6fc6
combine text area input component with input field component
Bilelkihal Jul 11, 2023
edf401e
groupe inputs in one folder in the lookbook
Bilelkihal Jul 11, 2023
12f3201
fix style issues in input field component
Bilelkihal Jul 11, 2023
1e618c5
refactor input field component code to remove repetition
Bilelkihal Jul 12, 2023
9a71e59
remove the duplicated alert component preview
syphax-bouazzouni Jul 12, 2023
d9d21f8
make the input field component generic using a the content slot
syphax-bouazzouni Jul 12, 2023
2e0b553
implement form date component
syphax-bouazzouni Jul 12, 2023
fe6a4cd
implement form text area component
syphax-bouazzouni Jul 12, 2023
365605c
implement form text input component
syphax-bouazzouni Jul 12, 2023
e063fbe
duplicate the select component to be in the "form" namespace
syphax-bouazzouni Jul 12, 2023
682394b
fix select input component inversed open_to_add_values argument usage
syphax-bouazzouni Jul 12, 2023
dae2487
move and rename file input loader component to be in the form module
syphax-bouazzouni Jul 12, 2023
75dd972
update select component to use InputFieldComponent to have a label
syphax-bouazzouni Jul 12, 2023
904b1c7
remove unsed text in NestedFormInputComponentPreview
syphax-bouazzouni Jul 12, 2023
6f4f874
Fix bug of select list view of ontology (#289)
SirineMhedhbi Jul 12, 2023
ea73779
fix nested form component inputs focus color to use primary variable
syphax-bouazzouni Jul 12, 2023
c89e940
add upload ontology from style file
syphax-bouazzouni Jul 12, 2023
ec94058
extract from upload ontology from the location partial
syphax-bouazzouni Jul 12, 2023
26cc229
update upload ontology form design
syphax-bouazzouni Jul 12, 2023
b281a03
make the upload ontology form button style apply also submit button
syphax-bouazzouni Jul 12, 2023
7e6ecf1
add id argument to chips components to permit having multiple chips w…
syphax-bouazzouni Jul 12, 2023
9517b91
fix label not showing for the from select component
syphax-bouazzouni Jul 12, 2023
204f580
put the correct input names in the new ontology form
syphax-bouazzouni Jul 12, 2023
f5e3249
replace the finish div in the new ontology form with a submit tag
syphax-bouazzouni Jul 12, 2023
b8820dd
use for the administrated_by input with the form select component
syphax-bouazzouni Jul 12, 2023
f759988
implement the backend create action for the new upload ontology form
syphax-bouazzouni Jul 12, 2023
6afa8ce
fix text area component not showing the value given as argument
syphax-bouazzouni Jul 13, 2023
8556c25
add the default values for the inputs in the new ontology form
syphax-bouazzouni Jul 13, 2023
3b03715
extract submission_from_params method from the save_submission concern
syphax-bouazzouni Jul 13, 2023
53e7634
handle new ontology upload errors in the create action
syphax-bouazzouni Jul 13, 2023
81b17d6
add default empty submission in the new action
syphax-bouazzouni Jul 13, 2023
ce9d2ad
add type parametre to text_input_component so we can specify type as …
Bilelkihal Jul 18, 2023
b0e1379
make nested form component start by default by one form initialized
Bilelkihal Jul 18, 2023
a778209
add URI field to the upload ontology process
Bilelkihal Jul 30, 2023
438fcb9
add search input component
syphax-bouazzouni Jun 27, 2023
c6f6917
add ontology search input component re-using search-input component
syphax-bouazzouni Jun 27, 2023
f93da3e
re-use ontology search input component in the topnav
syphax-bouazzouni Jun 27, 2023
53c391c
re-use the ontology-search-input in the home
syphax-bouazzouni Jun 27, 2023
4ff8023
update search-input component to make it more generic
syphax-bouazzouni Jun 27, 2023
d946994
rename view components "form" namespace to "input"
syphax-bouazzouni Jul 21, 2023
64d0a9e
create the display namespace for the data display components
syphax-bouazzouni Jul 21, 2023
23daf28
create the layout namespace for view component that structure content
syphax-bouazzouni Jul 21, 2023
8528b80
use the table component in the ontology mappings tab
syphax-bouazzouni Jul 23, 2023
bfc3e06
add table component (style, preview and code)
syphax-bouazzouni Jul 23, 2023
66572ec
make dropdown content. with no default padding
syphax-bouazzouni Jul 24, 2023
4b8cd8b
update concept details component to use the Table and dropdown component
syphax-bouazzouni Jul 24, 2023
df6f601
add concept details component preview
syphax-bouazzouni Jul 24, 2023
c9f1771
update collection, concept, label_xl and scheme views with the new co…
syphax-bouazzouni Jul 24, 2023
bc16655
migrate notes table to use Table component
syphax-bouazzouni Jul 24, 2023
de6c11d
install tom select
Bilelkihal Jul 28, 2023
0f9aa64
update select component with tom select
Bilelkihal Jul 28, 2023
b7b167c
use not centred layout for the select input previews
syphax-bouazzouni Jul 31, 2023
52d7c12
remove the select id in the select input component template
syphax-bouazzouni Jul 31, 2023
e98d288
remove is_selected_value variable in the select input component
syphax-bouazzouni Jul 31, 2023
162c322
fix select component id
Bilelkihal Jul 31, 2023
a172b1a
add pill button component
syphax-bouazzouni Jul 22, 2023
1b2b61f
add loader component small option and previews
syphax-bouazzouni Jul 22, 2023
0faa347
update ontology subscribe component design and add preview
syphax-bouazzouni Jul 22, 2023
e34afe9
move rounded button preview to the button namespace
syphax-bouazzouni Jul 22, 2023
56a82ae
extract modal helpers into a helper file
syphax-bouazzouni Jul 22, 2023
10b8efb
use the new modal helpers instead of writing the view component or frame
syphax-bouazzouni Jul 22, 2023
180b4fa
add option to modal to show in connect alone
syphax-bouazzouni Jul 22, 2023
ae0cd8e
add modal component style
syphax-bouazzouni Jul 22, 2023
b2e7857
add modal component preview
syphax-bouazzouni Jul 22, 2023
6285fe7
move the modal component preview into the layout namespace
syphax-bouazzouni Jul 22, 2023
1be380b
Update the design of the switch component
syphax-bouazzouni Jul 22, 2023
da06b97
add switch input component preview
syphax-bouazzouni Jul 22, 2023
e21ce35
update search input component to handle custom link turbo targets
syphax-bouazzouni Jul 7, 2023
6077526
update search input component to have form-control style by default
syphax-bouazzouni Jul 28, 2023
070f03e
remove no used home search controller replaced with search input
syphax-bouazzouni Jul 28, 2023
5fc0a21
fix. ontology search input component ajax_url argument to add ?acronym=
syphax-bouazzouni Jul 28, 2023
42e8651
fix home page search input style
syphax-bouazzouni Jul 28, 2023
ecf1541
migrate search input style from home.scss to search_input.scss
syphax-bouazzouni Jul 28, 2023
d63049b
add margin top and bottom for the nested form component
syphax-bouazzouni Jul 11, 2023
e8e7b85
update nested form component to have an empty state to send to the back
syphax-bouazzouni Jul 28, 2023
ee2dfb8
handle contact nested form empty state
syphax-bouazzouni Jul 28, 2023
1578c95
migrate the fair score js code to stimulus to make it work with turbo
syphax-bouazzouni May 7, 2023
cae8274
remove the old fair_score.js code
syphax-bouazzouni Jul 22, 2023
5b9c093
fix home page responsiveness issues
Bilelkihal Jun 20, 2023
47ab0a9
fix footer responsiveness
Bilelkihal Jun 20, 2023
cbc6152
fix nav bar responsiveness and add admin to nav items
Bilelkihal Jun 20, 2023
ff6ca14
fix home annotator/recommender section title
Bilelkihal Jun 20, 2023
397c1df
fix home responsiveness for small screens
Bilelkihal Jun 20, 2023
b4f874e
add link text component
syphax-bouazzouni Jul 23, 2023
4eb094e
use link text component to implement popup link component
syphax-bouazzouni Jul 23, 2023
c7979a4
use link text component to implement external link component
syphax-bouazzouni Jul 23, 2023
16b0ffc
use link text component to implement internal link component
syphax-bouazzouni Jul 23, 2023
84fb5b6
use internal and external links component in the label link component
syphax-bouazzouni Jul 23, 2023
a2f178d
add previews to link text components
syphax-bouazzouni Jul 23, 2023
d8c6e01
change internal link icon in link text component
Bilelkihal Jul 24, 2023
b101ccb
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
Bilelkihal Aug 1, 2023
e79f2ab
Merge branch 'development' into feature/update-upload-ontology
Bilelkihal Aug 1, 2023
d51484c
refactor select input component template to use the rails helper
Bilelkihal Aug 1, 2023
cf59e3c
use stimulus values in select input component controller
Bilelkihal Aug 1, 2023
9579874
Add email, password, url components to lookbook
Bilelkihal Aug 4, 2023
538ff7b
use url component in upload ontology process
Bilelkihal Aug 4, 2023
b23af4f
fix location subform selection via text on upload ontology
Bilelkihal Aug 4, 2023
fae6adb
change date of creation by modification date field, and add comment o…
Bilelkihal Aug 4, 2023
f01461e
fix select input component to use the name
syphax-bouazzouni Aug 4, 2023
0861ecc
use the correct name for the visibility and allowed to view inputs
syphax-bouazzouni Aug 4, 2023
d394f02
make ontology edit and new form use multi part
syphax-bouazzouni Aug 4, 2023
cdabb15
fix URI input name and value to replace ontology by submission
syphax-bouazzouni Aug 4, 2023
7b63874
add disable state to input field component
Bilelkihal Aug 4, 2023
bb8c4a9
make acronym field disabled when uploading a new version of an ontology
Bilelkihal Aug 4, 2023
a4b9a2a
migrate the ontology picker single partial to select component
syphax-bouazzouni Aug 4, 2023
47777a6
Add the checked property to the chips component
Bilelkihal Mar 27, 2023
f8a1442
Merge remote-tracking branch 'refs/remotes/origin/feature/update-uplo…
Bilelkihal Aug 4, 2023
29a8df1
update date component with flatpicker
Bilelkihal Aug 4, 2023
1e2b97e
add disabled state to input field component
Bilelkihal Aug 4, 2023
7cdf628
update submission helpers with the new components
Bilelkihal Aug 4, 2023
a6db2bf
refactor update ontology code to remove undesired ifs
Bilelkihal Aug 4, 2023
1693a73
add text field and text area components to lookbook
Bilelkihal Jun 19, 2023
d71a7d0
add select component to lookbook
Bilelkihal Jun 19, 2023
bd02451
add date field to the lookbook
Bilelkihal Jun 30, 2023
83f29e2
add "inline_svg" gem to use svg in files
syphax-bouazzouni May 15, 2023
27f6d45
make the components preview container include JS cod if needed
syphax-bouazzouni May 15, 2023
ae90df2
add language field component
syphax-bouazzouni Jun 8, 2023
b26815d
add link field component
syphax-bouazzouni Jun 8, 2023
509bac0
add date_time field component
syphax-bouazzouni Jun 8, 2023
590c85f
add license field component
syphax-bouazzouni Jun 8, 2023
27b8564
add text area field component
syphax-bouazzouni Jun 8, 2023
4b4bee9
add summary section component preview
syphax-bouazzouni Jun 8, 2023
594d6aa
add dropdown component
syphax-bouazzouni Jun 7, 2023
322bbbf
add field container component to show a label with it's value vertically
syphax-bouazzouni Jun 8, 2023
98da697
add nested form input component preview
syphax-bouazzouni Jun 29, 2023
8b9e500
add a pop-up with list of ontologies in group and category admin table
SirineMhedhbi May 31, 2023
2028628
Revert "add a pop-up with list of ontologies in group and category ad…
SirineMhedhbi May 31, 2023
6d691d0
add a select to update ontologies in the pop-up edit of group in admi…
SirineMhedhbi Jun 9, 2023
a1a729e
add a select to update ontologies in the pop-up edit of category in a…
SirineMhedhbi Jun 9, 2023
525203d
Refactor code
SirineMhedhbi Jun 15, 2023
26eb5d0
refactor code and fix bug
SirineMhedhbi Jun 15, 2023
38ca6b6
remove old undesired text area input from lookbook
Bilelkihal Jul 6, 2023
4eeca71
add Upload file input component to lookbook
Bilelkihal Jul 10, 2023
abc2abe
combine all input components in one globale component
Bilelkihal Jul 11, 2023
d24d53b
remove style params from input field component
Bilelkihal Jul 11, 2023
c3d8ddd
recover text area field component (after deleting it by mistake in a …
Bilelkihal Jul 11, 2023
afb9d65
add hint to text input component
Bilelkihal Jul 11, 2023
2ecb8cb
add error state to input field component
Bilelkihal Jul 11, 2023
93706f0
add helper text to input field component
Bilelkihal Jul 11, 2023
3bf0f4a
add notes to input field component to explain how to use it
Bilelkihal Jul 11, 2023
e93338b
combine text area input component with input field component
Bilelkihal Jul 11, 2023
a4f4136
groupe inputs in one folder in the lookbook
Bilelkihal Jul 11, 2023
78a13a8
make the input field component generic using a the content slot
syphax-bouazzouni Jul 12, 2023
cf0af8e
implement form date component
syphax-bouazzouni Jul 12, 2023
71a8626
implement form text area component
syphax-bouazzouni Jul 12, 2023
130fea3
implement form text input component
syphax-bouazzouni Jul 12, 2023
99f17c9
duplicate the select component to be in the "form" namespace
syphax-bouazzouni Jul 12, 2023
d7f7e33
move and rename file input loader component to be in the form module
syphax-bouazzouni Jul 12, 2023
6472f2f
update select component to use InputFieldComponent to have a label
syphax-bouazzouni Jul 12, 2023
20a1c29
remove unsed text in NestedFormInputComponentPreview
syphax-bouazzouni Jul 12, 2023
7a4b197
fix nested form component inputs focus color to use primary variable
syphax-bouazzouni Jul 12, 2023
5ceaca2
add upload ontology from style file
syphax-bouazzouni Jul 12, 2023
b6875a6
extract from upload ontology from the location partial
syphax-bouazzouni Jul 12, 2023
d5844da
update upload ontology form design
syphax-bouazzouni Jul 12, 2023
0d20427
make the upload ontology form button style apply also submit button
syphax-bouazzouni Jul 12, 2023
6f2156e
add id argument to chips components to permit having multiple chips w…
syphax-bouazzouni Jul 12, 2023
045053c
fix label not showing for the from select component
syphax-bouazzouni Jul 12, 2023
3623b40
put the correct input names in the new ontology form
syphax-bouazzouni Jul 12, 2023
8e14f85
replace the finish div in the new ontology form with a submit tag
syphax-bouazzouni Jul 12, 2023
832c26a
use for the administrated_by input with the form select component
syphax-bouazzouni Jul 12, 2023
ba45703
implement the backend create action for the new upload ontology form
syphax-bouazzouni Jul 12, 2023
ee86d4d
fix text area component not showing the value given as argument
syphax-bouazzouni Jul 13, 2023
873022f
add the default values for the inputs in the new ontology form
syphax-bouazzouni Jul 13, 2023
f4c3499
extract submission_from_params method from the save_submission concern
syphax-bouazzouni Jul 13, 2023
3d1c3db
handle new ontology upload errors in the create action
syphax-bouazzouni Jul 13, 2023
d96b937
add default empty submission in the new action
syphax-bouazzouni Jul 13, 2023
7d23a7a
add type parametre to text_input_component so we can specify type as …
Bilelkihal Jul 18, 2023
52ac1d9
make nested form component start by default by one form initialized
Bilelkihal Jul 18, 2023
03af066
add URI field to the upload ontology process
Bilelkihal Jul 30, 2023
8c1a6d8
rename view components "form" namespace to "input"
syphax-bouazzouni Jul 21, 2023
3d1f72f
create the display namespace for the data display components
syphax-bouazzouni Jul 21, 2023
e5a2e4c
create the layout namespace for view component that structure content
syphax-bouazzouni Jul 21, 2023
b2aa58a
add modal component preview
syphax-bouazzouni Jul 22, 2023
49dc774
move the modal component preview into the layout namespace
syphax-bouazzouni Jul 22, 2023
35171e0
change internal link icon in link text component
Bilelkihal Jul 24, 2023
ccaa847
add text field and text area components to lookbook
Bilelkihal Jun 19, 2023
ca8c459
add date field to the lookbook
Bilelkihal Jun 30, 2023
58086b0
fix label not showing for the from select component
syphax-bouazzouni Jul 12, 2023
15c38d3
fix text area component not showing the value given as argument
syphax-bouazzouni Jul 13, 2023
49a0d04
add type parametre to text_input_component so we can specify type as …
Bilelkihal Jul 18, 2023
bb37c22
refactor select input component template to use the rails helper
Bilelkihal Aug 1, 2023
cb6c000
use stimulus values in select input component controller
Bilelkihal Aug 1, 2023
8a6dc29
Add email, password, url components to lookbook
Bilelkihal Aug 4, 2023
719c5a4
use url component in upload ontology process
Bilelkihal Aug 4, 2023
573d42e
fix location subform selection via text on upload ontology
Bilelkihal Aug 4, 2023
f677f74
fix select input component to use the name
syphax-bouazzouni Aug 4, 2023
bd28702
use the correct name for the visibility and allowed to view inputs
syphax-bouazzouni Aug 4, 2023
58d929d
make ontology edit and new form use multi part
syphax-bouazzouni Aug 4, 2023
cd3c58b
fix URI input name and value to replace ontology by submission
syphax-bouazzouni Aug 4, 2023
0a96d80
migrate the ontology picker single partial to select component
syphax-bouazzouni Aug 4, 2023
4eadb41
Add the checked property to the chips component
Bilelkihal Mar 27, 2023
86edd92
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
syphax-bouazzouni Aug 6, 2023
3c95d50
Merge branch 'development' into feature/update-upload-ontology
syphax-bouazzouni Aug 6, 2023
d35cfa6
change date of creation by modification date field, and add comment o…
syphax-bouazzouni Aug 8, 2023
6526367
add disable state to input field component
syphax-bouazzouni Aug 8, 2023
4ac6ccc
update submission helpers with the new components
Bilelkihal Aug 4, 2023
6bfa0fe
refactor update ontology code to remove undesired ifs
syphax-bouazzouni Aug 8, 2023
a4ecdfb
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
syphax-bouazzouni Aug 8, 2023
ca10a35
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
syphax-bouazzouni Aug 8, 2023
bc7e443
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
Bilelkihal Aug 8, 2023
fd1f0b6
add id parameter to input field component
Bilelkihal Aug 9, 2023
5b1e905
Merge branch 'add-buttons-components-to-lookbook' into feature/update…
Bilelkihal Aug 9, 2023
2065009
replace finish button in upload ontology by the button component
Bilelkihal Aug 9, 2023
0819f7b
Add size parameter to button component
Bilelkihal Aug 10, 2023
1ff1213
Add color parameter to button component
Bilelkihal Aug 10, 2023
093fe83
Add state parameter to the button component
Bilelkihal Aug 10, 2023
4d0dc85
make finish button animated in upload ontology process
Bilelkihal Aug 10, 2023
23ee3b1
Merge branch 'development' into feature/update-upload-ontology
syphax-bouazzouni Aug 12, 2023
bcb7f40
Merge branch 'add-buttons-components-to-lookbook' into feature/add-pr…
syphax-bouazzouni Aug 21, 2023
8de8468
Merge branch 'add-buttons-components-to-lookbook' into feature/add-pr…
syphax-bouazzouni Aug 21, 2023
5a1846b
add progress pages component
syphax-bouazzouni Aug 21, 2023
17a1369
Merge branch 'add-buttons-components-to-lookbook' into feature/add-pr…
syphax-bouazzouni Aug 21, 2023
9adac8a
Merge branch 'add-buttons-components-to-lookbook' into feature/update…
syphax-bouazzouni Aug 21, 2023
1a01870
Merge branch 'feature/add-progress-pages-componenent' into feature/up…
syphax-bouazzouni Aug 21, 2023
19a2729
put again the type argument for button component
syphax-bouazzouni Aug 21, 2023
312fdd5
fix progress pages item not center if test is long
syphax-bouazzouni Aug 21, 2023
9fe70b8
Merge branch 'feature/add-progress-pages-componenent' into feature/up…
syphax-bouazzouni Aug 21, 2023
fecd69b
migrate upload ontology form to use progress pages component
syphax-bouazzouni Aug 21, 2023
f225e8a
Merge branch 'add-buttons-components-to-lookbook' into feature/update…
syphax-bouazzouni Aug 21, 2023
65e9c95
Merge branch 'add-buttons-components-to-lookbook' into feature/update…
syphax-bouazzouni Aug 21, 2023
ee62436
make progress pages container take full width by default
syphax-bouazzouni Aug 21, 2023
5fa689d
Merge branch 'feature/add-progress-pages-componenent' into feature/up…
syphax-bouazzouni Aug 21, 2023
ce541ba
update login page button component usage to have an ID
syphax-bouazzouni Aug 21, 2023
c414b28
put again the removed JS code for visibility and is a view
syphax-bouazzouni Aug 21, 2023
e90b8a1
fix chips style padding removed from merging with the browse branch
syphax-bouazzouni Aug 21, 2023
94b7f62
Merge branch 'add-buttons-components-to-lookbook' into feature/add-pr…
Bilelkihal Aug 21, 2023
f81ecfd
Merge branch 'feature/add-progress-pages-componenent' into feature/up…
Bilelkihal Aug 21, 2023
29ff91a
update date input in the ontology form to use the metadata helper
syphax-bouazzouni Aug 21, 2023
e3ad6da
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
Bilelkihal Aug 21, 2023
ef88dc4
fix chips style in upload ontology form
Bilelkihal Aug 21, 2023
50826ce
remove old new submission form from the bottom of the new ontology page
Bilelkihal Aug 21, 2023
2c3595b
Fix select multiple items, delete icon style in select component
Bilelkihal Aug 21, 2023
4f86210
Merge branch 'development' into feature/update-upload-ontology
syphax-bouazzouni Aug 22, 2023
44f2dc1
Merge branch 'development' into feature/update-upload-ontology
syphax-bouazzouni Aug 23, 2023
7c3cc0c
fix upload ontology style to have less margin bottom
syphax-bouazzouni Aug 23, 2023
64aae6d
extract ontology updater and saver concern form ontologies controller…
syphax-bouazzouni Aug 23, 2023
661d225
update submission create action tu update also the ontology
syphax-bouazzouni Aug 23, 2023
e439de8
use AlertComponent to display ontology form error messages
syphax-bouazzouni Aug 23, 2023
448a934
create input helpers to use inputs component more easily and use them…
syphax-bouazzouni Aug 23, 2023
4bf50e3
remove no more used style code in upload ontology style file
syphax-bouazzouni Aug 23, 2023
de2eb3b
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
Bilelkihal Aug 23, 2023
060eadd
fix ontology form date and contact inputs not showing error message
syphax-bouazzouni Aug 23, 2023
3f19cf4
set update ontology to true in the create action of submission contro…
syphax-bouazzouni Aug 23, 2023
c953d78
fix alignement of chips and button components
Bilelkihal Aug 23, 2023
9d0f20f
Merge remote-tracking branch 'origin/feature/update-upload-ontology' …
Bilelkihal Aug 23, 2023
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
4 changes: 2 additions & 2 deletions app/assets/images/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/assets/images/white-check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.css.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@import "login";
@import "components/index";
@import "account";

@import "upload_ontology";
@import "nav_bar";

/* Bootstrap and Font Awesome */
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/nested_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


.nested-form-input-container input:focus{
border: 1px solid #31B404 !important;
border: 1px solid var(--primary-color) !important;
}

.nested-form-input-container .delete{
Expand Down
338 changes: 338 additions & 0 deletions app/assets/stylesheets/upload_ontology.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,338 @@
.upload-ontology-container {
display: flex;
justify-content: center;
padding: 40px 0;
}

.upload-ontology-card {
width: 589px;
border-radius: 14px;
box-shadow: rgba(0, 0, 0, 0.05) 0px 20px 50px;
padding: 20px 40px;

}

.upload-ontology-center {
display: flex;
justify-content: center;
}

.Upload-ontology-title {
font-size: 18px;
display: flex;
font-weight: bold;
flex-direction: column;
align-items: center;
}

.Upload-ontology-title hr {
border: 1px solid var(--primary-color);
width: 93px;
margin: 0;
}

.upload-ontology-progress {
display: flex;
align-items: center;
margin-top: 20px;
margin-bottom: 50px;
}

.upload-ontology-progress hr {
flex-grow: 1;
border: 1px solid #D9D9D9;
margin: 0;
}

.upload-ontology-progress hr.active {
border: 1px solid var(--primary-color);
;
}

.upload-ontology-progress .progress-item {
position: relative;
}

.upload-ontology-progress .details .active:nth-child(2) {
color: var(--primary-color);
font-weight: 600;
}

.upload-ontology-progress .details div:nth-child(2) {
position: absolute;
font-size: 12px;
top: 33px;
white-space: nowrap;
color: var(--primary-color);

}

.upload-ontology-progress .General-metadata .active:nth-child(2) {
color: var(--primary-color);
font-weight: 600;
}

.upload-ontology-progress .General-metadata div:nth-child(2) {
position: absolute;
right: -38px;
font-size: 12px;
top: 33px;
white-space: nowrap;
color: #A9A9A9;

}

.upload-ontology-progress .Dates-and-contacts .active:nth-child(2) {
color: var(--primary-color);
font-weight: 600;
}

.upload-ontology-progress .Dates-and-contacts div:nth-child(2) {
position: absolute;
right: 0;
top: 33px;
font-size: 12px;
white-space: nowrap;
color: #A9A9A9;

}

.outlined-checked-circle {
border: 2px solid var(--primary-color) !important;
background-color: var(--primary-color);
display: flex;
align-items: center;
justify-content: center;
}

.outlined-active-circle {
border: 2px solid var(--primary-color) !important;
}

.outlined-circle {
border: 1px solid #D9D9D9;
border-radius: 13px;
height: 26px;
width: 26px;

}

.outlined-checked-circle img {
display: block !important;
}

.outlined-active-circle img {
display: none;
}

.outlined-circle img {
display: none;
}

.upload-ontology-desc-text {
display: flex;
color: #777777;
font-size: 11px;
}

.upload-ontology-desc-text div {
display: flex;
align-items: center;
}

.upload-ontology-desc-text a {
text-decoration: none;
color: var(--primary-color);
margin-left: 7px;
}

#ontology_administeredBy_chosen{
margin-top: 5px;
margin-bottom: 23px;
width: 100%;
font-size: 13px;
padding: 10px;
border: 1px solid #BDBDBD;
border-radius: 5px;
outline: none;
}

.upload-ontology-chips-container{
display: flex;
flex-wrap: wrap;
}

.upload-ontology-actions {
display: flex;
justify-content: flex-end;
margin-top: 20px;
}

.upload-ontology-next-button {
display: flex;
justify-content: center;
align-items: center;
padding: 8px 30px;
background-color: var(--primary-color);
border-radius: 5px;
border: none;
transition: background ease 0.3s;
cursor: pointer;
margin-left: 25px;
}

.upload-ontology-next-button:hover {
background-color: var(--hover-color);
}

.upload-ontology-next-button div, .upload-ontology-next-button > input{
margin-right: 5px;
color: white;
font-size: 16px;
border: none;
background: none;
}

.upload-ontology-back-button {
display: flex;
justify-content: center;
align-items: center;
padding: 8px 30px;
border: 1px solid var(--primary-color);
border-radius: 5px;
background-color: white;
transition: background ease 0.3s;
cursor: pointer;
}

.upload-ontology-back-button:hover {
background-color: var(--primary-color);
}

.upload-ontology-back-button:hover svg path {
fill: white;
}

.upload-ontology-back-button:hover div {
color: white;
}

.upload-ontology-back-button div {
margin-left: 5px;
color: var(--primary-color);
font-size: 16px;
}

.hide {
display: none;
}

.show {
display: block;
}

.upload-ontology-desc {
font-size: 12px;
color: #777777;
margin-bottom: 23px;
}

.upload-ontology-desc a {
text-decoration: none;
color: var(--primary-color);
}
.upload-ontology-desc a svg{
transform: scale(1.2);
}

.upload-ontology-contact .titles {
display: flex;
font-size: 11px;
color: #666666;
margin-bottom: 5px;
}

.upload-ontology-contact .titles div:first-child {
width: 262px;
}

.upload-ontology-contact.multiple .titles div:first-child {
width: 233px;
}

.upload-ontology-contact .fields-line {
display: flex;
}

.upload-ontology-contact .fields-line input:focus {
border: 1px solid var(--primary-color) !important;
}

.upload-ontology-contact .fields-line input {
font-size: 13px;
padding: 10px;
border: 1px solid #BDBDBD;
border-radius: 5px;
outline: none;
width: 247px;
margin-right: 15px;
margin-bottom: 15px;
}

.upload-ontology-contact.multiple .fields-line input {
width: 218px;
}




.upload-ontology-contact .delete {
display: flex;
border: 1px dashed #BDBDBD;
justify-content: center;
align-items: center;
height: 43px;
width: 43px;
border-radius: 5px;
cursor: pointer;
}

.upload-ontology-contact .add-another-contact {
border: 1px dashed #BDBDBD;
border-radius: 5px;
display: flex;
justify-content: center;
padding: 10px;
cursor: pointer;

}

.upload-ontology-contact .add-another-contact div {
font-size: 11px;
color: #DADADA;
margin-left: 10px;

}

.upload-ontology-field-container .location-choice{
display: flex;
align-items: center;
margin-bottom: 3px;
}

.upload-ontology-field-container .location-choice .title{
font-size: 13px;
color: black;
margin-left: 13px;
margin-bottom: 0;
}

.upload-ontology-field-container div{
font-size: 12px;
color: #666666;
}


.upload-ontology-input-field-container{
margin-bottom: 23px;
}
3 changes: 2 additions & 1 deletion app/components/chips_component.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class ChipsComponent < ViewComponent::Base
def initialize(name:, value:)
def initialize(id: '',name:, value:)
@id = id || name
@name = name
@value = value
end
Expand Down
4 changes: 2 additions & 2 deletions app/components/chips_component/chips_component.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.chips-container
%div
%label{:for => "chips-#{@name}-check"}
%input{:id => "chips-#{@name}-check", :name => @name, :type => "checkbox", :value => @value}/
%label{:for => "chips-#{@id}-check"}
%input{:id => "chips-#{@id}-check", :name => @name, :type => "checkbox", :value => @value}/
%span
%svg.chips-check-icon{:fill => "none", :height => "8", :viewbox => "0 0 10 8", :width => "10", :xmlns => "http://www.w3.org/2000/svg"}
%path{:d => "M9.76764 0.232287C9.45824 -0.0775267 8.95582 -0.0773313 8.646 0.232287L3.59787 5.28062L1.35419 3.03696C1.04438 2.72714 0.542174 2.72714 0.23236 3.03696C-0.0774534 3.34677 -0.0774534 3.84897 0.23236 4.15879L3.03684 6.96326C3.19165 7.11807 3.39464 7.19567 3.59765 7.19567C3.80067 7.19567 4.00386 7.11827 4.15867 6.96326L9.76764 1.3541C10.0775 1.0445 10.0775 0.542081 9.76764 0.232287Z"}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
= render InputFieldComponent.new(name: @name, error_message: @error_message, helper_text: @helper_text) do
= render InputFieldComponent.new(name: @name, error_message: @error_message, helper_text: @helper_text, label: @label) do
= render SelectInputComponent.new(id: @id, name: @name, values: @values , selected: @selected , multiple: @multiple, open_to_add_values: @open_to_add_values )
Loading