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

Fix: home page issues #417

Merged
merged 686 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
686 commits
Select commit Hold shift + click to select a range
16e039b
change agent search input to use it's Id instead of name to find it
syphax-bouazzouni Jul 28, 2023
f818858
add Jquery data table to the admin agents table
syphax-bouazzouni Jul 28, 2023
9c6af22
change agent search input to use it's Id instead of name to find it
syphax-bouazzouni Jul 28, 2023
fd51d38
update nested form component to have an empty state to send to the back
syphax-bouazzouni Jul 28, 2023
7579414
fix metadata curator not save agent update (bug still in changed_values)
syphax-bouazzouni Jul 28, 2023
3eae4cd
add display agent in the metadata curator
syphax-bouazzouni Jul 28, 2023
aa7fc32
handle the display of no array agents in summary page
syphax-bouazzouni Jul 28, 2023
5ddbca0
add generate_agent_input helper to the submission helpers
syphax-bouazzouni Jul 24, 2023
ce249cd
fix submission save/update error state
syphax-bouazzouni Jul 28, 2023
211b5a4
update display agent to show agent affiliations
syphax-bouazzouni Jul 28, 2023
1bbd1db
make select input by default not open to add values
syphax-bouazzouni Jul 28, 2023
f88e8d1
fix text field component not using the required argument
syphax-bouazzouni Jul 28, 2023
ce7dae5
remove the hardcoded hasCreator and publisher inputs in submission from
syphax-bouazzouni Jul 28, 2023
64e5246
add concept sub_menu helpers
SirineMhedhbi Jul 28, 2023
04e20d4
use sub_menu helpers in the concept browser
SirineMhedhbi Jul 28, 2023
b61e600
update collection member count redirection sub_menu to use list
SirineMhedhbi Jul 28, 2023
0ccc9ed
install tom select
Bilelkihal Jul 28, 2023
981605a
update select component with tom select
Bilelkihal Jul 28, 2023
30e4dff
update search input component to handle custom link turbo targets
syphax-bouazzouni Jul 7, 2023
c983801
update search input component to have form-control style by default
syphax-bouazzouni Jul 28, 2023
629adb6
remove no used home search controller replaced with search input
syphax-bouazzouni Jul 28, 2023
ade8967
fix. ontology search input component ajax_url argument to add ?acronym=
syphax-bouazzouni Jul 28, 2023
5d47da7
fix home page search input style
syphax-bouazzouni Jul 28, 2023
871aebd
migrate search input style from home.scss to search_input.scss
syphax-bouazzouni Jul 28, 2023
20e3e03
Merge branch 'development' into feature/extract-search-input-component
syphax-bouazzouni Jul 28, 2023
dfe08dc
Merge pull request #312 from ontoportal-lirmm/feature/extract-search-…
syphax-bouazzouni Jul 28, 2023
35edfc3
Merge branch 'development' into feature/add-agent-model-ui-components
syphax-bouazzouni Jul 28, 2023
65e3629
handle for agent show the case they are string
syphax-bouazzouni Jul 28, 2023
4fcf11d
handle contact nested form empty state
syphax-bouazzouni Jul 28, 2023
7f0702f
add margin top and bottom for the nested form component
syphax-bouazzouni Jul 11, 2023
9ce277c
update nested form component to have an empty state to send to the back
syphax-bouazzouni Jul 28, 2023
e41cdca
handle contact nested form empty state
syphax-bouazzouni Jul 28, 2023
041e43f
Merge pull request #313 from ontoportal-lirmm/fix/nested-from-compone…
syphax-bouazzouni Jul 28, 2023
280748f
Merge pull request #302 from ontoportal-lirmm/feature/migrate-fair-sc…
syphax-bouazzouni Jul 28, 2023
204edf1
Merge branch 'development' into feature/add-switch-input-preview
syphax-bouazzouni Jul 28, 2023
1b6738c
Merge pull request #301 from ontoportal-lirmm/feature/add-switch-inpu…
syphax-bouazzouni Jul 28, 2023
e768933
Merge pull request #279 from ontoportal-lirmm/bug/fix-responsiveness-…
syphax-bouazzouni Jul 28, 2023
4734751
Merge branch 'development' into feature/add-agent-model-ui-components
syphax-bouazzouni Jul 28, 2023
f4e6ae8
Merge pull request #304 from ontoportal-lirmm/feature/add-link-text-c…
syphax-bouazzouni Jul 31, 2023
e05a417
fix select component id
Bilelkihal Jul 31, 2023
9f23b77
use not centred layout for the select input previews
syphax-bouazzouni Jul 31, 2023
9f3789a
remove the select id in the select input component template
syphax-bouazzouni Jul 31, 2023
8ff1fd5
remove is_selected_value variable in the select input component
syphax-bouazzouni Jul 31, 2023
a94d153
Merge remote-tracking branch 'origin/feature/update-select-component'…
syphax-bouazzouni Jul 31, 2023
3c9ac4c
Merge pull request #310 from ontoportal-lirmm/feature/update-select-c…
syphax-bouazzouni Jul 31, 2023
bb06a46
Merge branch 'development' into feature/add-modal-link-component
syphax-bouazzouni Jul 31, 2023
5073b3b
Merge pull request #300 from ontoportal-lirmm/feature/add-modal-link-…
syphax-bouazzouni Jul 31, 2023
005e58f
Merge branch 'development' into feature/add-pill-button
syphax-bouazzouni Jul 31, 2023
2089284
Merge pull request #303 from ontoportal-lirmm/feature/add-pill-button
syphax-bouazzouni Jul 31, 2023
d24ced3
Merge branch 'development' into Fix-display-the-list-of-concepts-in-a…
syphax-bouazzouni Jul 31, 2023
2ab2606
make concept list frame not load if concept_collections param is empty
syphax-bouazzouni Jul 31, 2023
1b94b4c
add 'data-turbo-frame':'_top' to member count link to show top loader
syphax-bouazzouni Jul 31, 2023
8cdb5df
Merge pull request #295 from ontoportal-lirmm/Fix-display-the-list-of…
syphax-bouazzouni Jul 31, 2023
e5c8974
remove container class from the new and edit submission views
syphax-bouazzouni Aug 1, 2023
4f36ca6
handle string errors (location file not given ) in the submission form
syphax-bouazzouni Aug 1, 2023
6376d3f
merge primary and secondary button in one component
Bilelkihal Aug 1, 2023
26e8317
remove undesired secondary button css file
Bilelkihal Aug 1, 2023
5f0dee2
add icon property to regular button component
Bilelkihal Aug 1, 2023
e8842b4
add link type for regular button component
Bilelkihal Aug 1, 2023
c3be314
install and configure omniauth gems
syphax-bouazzouni Aug 4, 2023
70cb7ce
add a helper to get omniauth_providers details
syphax-bouazzouni Aug 4, 2023
fa9f56d
add external auth providers icons in the login in page
syphax-bouazzouni Aug 4, 2023
69a17c7
add oauth login action
syphax-bouazzouni Aug 4, 2023
5a8f1a2
add omniauth_token_provider helper
syphax-bouazzouni Aug 6, 2023
f6d0c5e
add outline state to the tabs component
syphax-bouazzouni Aug 6, 2023
7786dc8
migrate concept show to use tabs outline
syphax-bouazzouni Aug 6, 2023
bc6545e
migrate concept browser to use tabs outline
syphax-bouazzouni Aug 6, 2023
21d5128
Merge branch 'development' into feature/add-tabs-component
syphax-bouazzouni Aug 6, 2023
7e35c89
Merge pull request #297 from ontoportal-lirmm/feature/add-tabs-component
syphax-bouazzouni Aug 6, 2023
249ad15
Merge branch 'development' into feature/add-circle-progress-bar-compo…
syphax-bouazzouni Aug 6, 2023
d3cdeed
Merge pull request #306 from ontoportal-lirmm/feature/add-circle-prog…
syphax-bouazzouni Aug 6, 2023
65dcc35
Merge pull request #291 from ontoportal-lirmm/Fix-remove-views-of-sub…
syphax-bouazzouni Aug 6, 2023
fd92692
Merge branch 'development' into feature/update-agroportal-primary-color
syphax-bouazzouni Aug 6, 2023
02e2aa2
Merge pull request #247 from ontoportal-lirmm/feature/update-agroport…
syphax-bouazzouni Aug 6, 2023
1fe9672
Add the checked property to the chips component
syphax-bouazzouni Aug 6, 2023
527f9a2
show by default one row in the nested from input component
syphax-bouazzouni Aug 6, 2023
205bb52
Add email, password, url components to lookbook
Bilelkihal Aug 4, 2023
591e0db
refactor select input component template to use the rails helper
Bilelkihal Aug 1, 2023
3210837
use stimulus values in select input component controller
Bilelkihal Aug 1, 2023
62786dc
migrate date, email, password, url and text component to inline call
syphax-bouazzouni Aug 6, 2023
6cffad8
fix text area component not showing the value given as argument
syphax-bouazzouni Jul 13, 2023
03a106a
move date, file,text_area,text,password,url, email to one preview file
syphax-bouazzouni Aug 6, 2023
3295d07
move input field component to input namespace
syphax-bouazzouni Aug 6, 2023
c5b6360
Merge pull request #319 from ontoportal-lirmm/feature/extract-form-in…
syphax-bouazzouni Aug 6, 2023
40dfb75
Merge branch 'development' into add-buttons-components-to-lookbook
syphax-bouazzouni Aug 6, 2023
5db8315
Merge branch 'development' into feature/add-agent-model-ui-components
syphax-bouazzouni Aug 7, 2023
75992a0
Merge pull request #278 from ontoportal-lirmm/feature/add-agent-model…
syphax-bouazzouni Aug 7, 2023
dab3f32
Merge branch 'development' into feature/add-multi-provivder-authentif…
syphax-bouazzouni Aug 7, 2023
dd82ea8
Merge pull request #318 from ontoportal-lirmm/feature/add-multi-provi…
syphax-bouazzouni Aug 7, 2023
9c74a9c
remove internal-link icon default height
syphax-bouazzouni Aug 8, 2023
8a47eb8
add count slot to the chips components
syphax-bouazzouni Aug 8, 2023
6427067
add ontology viewer style file , for tabs responsiveness
syphax-bouazzouni Aug 8, 2023
ec9b2c7
fix a min width for the concept browser
syphax-bouazzouni Aug 8, 2023
bacf94c
update chips component to add label attribute
syphax-bouazzouni Aug 8, 2023
fa7f749
fix ontology viewer header not centred
syphax-bouazzouni Aug 8, 2023
23106a0
handle date time field exception when value is nil
syphax-bouazzouni Aug 8, 2023
4de22d8
fix tabs container component type check
syphax-bouazzouni Aug 8, 2023
980a176
update chip button style
syphax-bouazzouni Aug 8, 2023
f629c48
override bootstrap text-primary color
syphax-bouazzouni Jun 1, 2023
40e7480
update chips button component to have optional html attributes
syphax-bouazzouni Jun 20, 2023
c8381e5
Merge pull request #321 from ontoportal-lirmm/bug/fix-responsiveness-…
syphax-bouazzouni Aug 8, 2023
9d6c292
Merge branch 'development' into feature/update-ontology-details-heade…
syphax-bouazzouni Aug 8, 2023
2263993
replace open-popup icon with popup-link icon
syphax-bouazzouni Aug 8, 2023
f282783
update ontology viewer header style and template
syphax-bouazzouni Aug 8, 2023
c992253
add ontology count_subscriptions helper
syphax-bouazzouni Aug 8, 2023
1f57561
add show licence details popup action
syphax-bouazzouni Aug 8, 2023
4b6a0ff
add attribute_enforced_values helper to enforced values of an attribute
syphax-bouazzouni Aug 8, 2023
cbbf99f
use date time field component to display the uploaded date in the header
syphax-bouazzouni Aug 8, 2023
d1d05c5
use rounded button components in the header page for the json and edit
syphax-bouazzouni Aug 8, 2023
7433989
use chip button component for license button to popup in the header
syphax-bouazzouni Aug 8, 2023
804b2f4
Merge pull request #322 from ontoportal-lirmm/feature/update-ontology…
syphax-bouazzouni Aug 8, 2023
89c1241
Add icon button variation to regular button component
Bilelkihal Aug 9, 2023
dd6b0f4
Merge remote-tracking branch 'origin/add-buttons-components-to-lookbo…
Bilelkihal Aug 9, 2023
44b2a13
Merge branch 'add-buttons-components-to-lookbook' into feature/update…
Bilelkihal Aug 10, 2023
e9c473b
update the design of page not found
Bilelkihal Aug 10, 2023
98bc1ec
add info tooltip component
syphax-bouazzouni Aug 11, 2023
54c918e
add header text component
syphax-bouazzouni Aug 11, 2023
550fc1f
disable by default <p> bottom margin every where
syphax-bouazzouni Aug 11, 2023
579e9d5
add card component
syphax-bouazzouni Aug 11, 2023
fb2541f
add image component
syphax-bouazzouni Aug 11, 2023
0947855
add list layout component
syphax-bouazzouni Aug 11, 2023
54650df
add borderless and layout fixed states for the table component
syphax-bouazzouni Aug 11, 2023
dcb376a
add to summary section action links and info tooltip slots
syphax-bouazzouni Aug 11, 2023
83e0828
update dropdown to add empty state and use header & list components
syphax-bouazzouni Aug 11, 2023
baffda1
add for field container component an html content label slot
syphax-bouazzouni Aug 11, 2023
c8d38b9
update text area field to use span instead of p, to have less padding
syphax-bouazzouni Aug 11, 2023
85017c1
add to table row component an optional css class argument
syphax-bouazzouni Aug 11, 2023
476e4e8
update chip button style to have the same line height in all the states
syphax-bouazzouni Aug 11, 2023
dcd1ac8
make link to modal helper use PopupLinkText component
syphax-bouazzouni Aug 11, 2023
050b28d
add components helper file, regrouping helper to use component easily
syphax-bouazzouni Aug 11, 2023
942484e
Merge pull request #324 from ontoportal-lirmm/feature/add-summary-pag…
syphax-bouazzouni Aug 11, 2023
dd5ad1c
Merge branch 'development' into add-buttons-components-to-lookbook
syphax-bouazzouni Aug 12, 2023
98f5124
Add size parameter to button component
Bilelkihal Aug 10, 2023
e261c86
Add color parameter to button component
Bilelkihal Aug 10, 2023
abedbf1
Add state parameter to the button component
Bilelkihal Aug 10, 2023
104aa90
add slim state to the regular button component
syphax-bouazzouni Aug 12, 2023
0ef11bc
add slim, danger, warning, disabled, noAnimarion variations to button…
Bilelkihal Aug 16, 2023
8923e17
Merge remote-tracking branch 'origin/add-buttons-components-to-lookbo…
Bilelkihal Aug 16, 2023
c4b6754
groupe all buttons in one folder in the lookbook
Bilelkihal Aug 17, 2023
84cedea
put ontology subscribe button component preview in buttons namespace
syphax-bouazzouni Aug 21, 2023
3f3b1a1
fix function names duplication in the buttons previews and link preview
syphax-bouazzouni Aug 21, 2023
ff92b0d
extract button loader component from regular button component
syphax-bouazzouni Aug 21, 2023
5cd1c44
refactor regular button components to have less arguments and code du…
syphax-bouazzouni Aug 21, 2023
42c8d5e
set button component type by default equal 'submit'
syphax-bouazzouni Aug 21, 2023
60395ff
fix buttons component default padding
syphax-bouazzouni Aug 21, 2023
b85b2a5
fix omniauth_provider_info helper not working for github
syphax-bouazzouni Aug 21, 2023
21ecbe1
Merge remote-tracking branch 'origin/feature/add-multi-provivder-auth…
syphax-bouazzouni Aug 21, 2023
07ed9f4
Merge pull request #329 from ontoportal-lirmm/feature/add-multi-provi…
syphax-bouazzouni Aug 21, 2023
60d8fa0
put again the type argument for button component
syphax-bouazzouni Aug 21, 2023
e40e74c
fix slim state of the button loader component
syphax-bouazzouni Aug 21, 2023
6ef57ea
make the call the to displayAnimation event triggered only if enabled
syphax-bouazzouni Aug 21, 2023
d6a79cb
hide button icon when it's not initialized to avoid undesired padding
Bilelkihal Aug 21, 2023
fdf4fed
Merge pull request #314 from ontoportal-lirmm/add-buttons-components-…
syphax-bouazzouni Aug 22, 2023
1bc089a
Feature: Add progress pages component (#328)
syphax-bouazzouni Aug 22, 2023
1d75804
Feature: add alert component (#330)
Bilelkihal Aug 23, 2023
8c7d6c7
Merge branch 'add-buttons-components-to-lookbook' into feature/update…
Bilelkihal Aug 23, 2023
a8e175f
do the appropriate changes to the usage of the button component accor…
Bilelkihal Aug 23, 2023
c410a8e
fix animation id problem (animation starts in the wrong button) in bu…
Bilelkihal Aug 23, 2023
c653716
Merge branch 'add-buttons-components-to-lookbook' into feature/update…
Bilelkihal Aug 23, 2023
34a1ede
add something went wrong page
Bilelkihal Aug 23, 2023
1c0f89b
Feature: Implement the new upload ontology form (#292)
Bilelkihal Aug 24, 2023
63bb857
Feature: Update summary page design (#244)
hibadjebabria169 Aug 28, 2023
5571916
Feature: Update edit ontology design (#320)
syphax-bouazzouni Sep 2, 2023
be69ec7
Merge branch 'development' into feature/update-404-error-design
syphax-bouazzouni Sep 2, 2023
617b952
make the not found page message customizable depending of the error type
syphax-bouazzouni Sep 2, 2023
15a311d
put again the old internal server error message with style fixing
syphax-bouazzouni Sep 2, 2023
0c0f4ee
Merge pull request #331 from ontoportal-lirmm/feature/update-404-erro…
syphax-bouazzouni Sep 2, 2023
350ea19
Feature: Update browse page design (#217)
syphax-bouazzouni Sep 3, 2023
dbd07a0
Feature: Show multiple languages (#252)
haddadzineddine Sep 4, 2023
e85462f
Feature: Add search language selector (#309)
haddadzineddine Sep 5, 2023
4442776
fix generated bug after edit group and category (#334)
SirineMhedhbi Sep 6, 2023
8dc5531
Merge branch 'master' into development
syphax-bouazzouni Sep 6, 2023
c0e627c
Feature : create a new component to display status of submissions (#…
SirineMhedhbi Oct 23, 2023
a84ee6b
Fix : bug feedback window (#349)
SirineMhedhbi Oct 30, 2023
590323b
remove unused images (#366)
syphax-bouazzouni Oct 30, 2023
4d1c9e8
Feature: add IT and DE internationalization for the homepage (#367)
syphax-bouazzouni Oct 30, 2023
efe37d0
Fix: the new homepage bugs (#370)
syphax-bouazzouni Oct 31, 2023
c83d5e0
ensure the omniauth_provider_info is get when put a string argument (…
syphax-bouazzouni Oct 31, 2023
1e8ae5b
Fix: the new summary page bugs (#371)
syphax-bouazzouni Oct 31, 2023
7606205
Fix: the new ontology form bugs (#368)
syphax-bouazzouni Oct 31, 2023
42c9c4d
hide turbo frame error message when context changed (#369)
syphax-bouazzouni Oct 31, 2023
da306c3
Fix: the new submission edit form bugs (#373)
syphax-bouazzouni Oct 31, 2023
d7a24cb
Fix: disable pagination for the new browse page (#361)
syphax-bouazzouni Oct 31, 2023
54dc712
Fix: the new summary page bugs - part 2 (#374)
syphax-bouazzouni Nov 1, 2023
8027115
Fix: update ontology summary and edit pages code to adapt the change …
syphax-bouazzouni Nov 1, 2023
1758941
Merge branch 'master' into development
syphax-bouazzouni Nov 1, 2023
27a8192
Merge branch 'master' into development
syphax-bouazzouni Nov 1, 2023
6b610e7
Fix: Modify the display of certain texts on home page(#357)
SirineMhedhbi Nov 3, 2023
3538b1e
Fix: changes in browse page texts (#363)
SirineMhedhbi Nov 3, 2023
58d58a5
Fix: Update my account page texts (#353)
SirineMhedhbi Nov 3, 2023
080a1b0
Fix: changes summary page texts (#364)
SirineMhedhbi Nov 3, 2023
64b426a
Fix: changes in upload submission texts(#360)
SirineMhedhbi Nov 3, 2023
c00e115
Fix: changes in edit submission page texts (#378)
SirineMhedhbi Nov 3, 2023
c1a1d4b
Feature: Add UI tests infrastructure and Github action (#377)
syphax-bouazzouni Nov 7, 2023
ccba40c
Fix: global issue with the 2023 Q2 release (#380)
syphax-bouazzouni Nov 8, 2023
c8ba634
Feature: Add social icons to the footer (#379)
SirineMhedhbi Nov 10, 2023
796ebe7
Fix: Changes in home page and new submission page (#381)
SirineMhedhbi Nov 13, 2023
3afac9e
Feature: Remove handlebars dependency and update ontology properties …
SirineMhedhbi Nov 15, 2023
deaf94f
Fix: portal errors notifications (#385)
SirineMhedhbi Nov 17, 2023
c085548
Feature: add local api tests CI (#384)
syphax-bouazzouni Nov 18, 2023
3765244
Merge branch 'master' into development
syphax-bouazzouni Nov 18, 2023
7600499
add current url in portals errors notification (#387)
SirineMhedhbi Nov 21, 2023
7605dd9
Feature: add integration tests & Ontology process information alert (…
syphax-bouazzouni Nov 23, 2023
dcfc93f
Feature: add user agent usages code and UI (#365)
syphax-bouazzouni Nov 27, 2023
b0850fa
fix the display of definitions and parent (#389)
SirineMhedhbi Nov 27, 2023
8489970
Fix: summary page missing properties and fix the edit of copyRightHol…
syphax-bouazzouni Nov 27, 2023
dcff39f
add codevoc generation
syphax-bouazzouni Nov 28, 2023
a5b1a2c
Fix: Open to add values to some metadata attribute in the submission …
syphax-bouazzouni Nov 30, 2023
31005da
Fix locales EN and FR with a bunch of changes (#391)
jonquet Nov 30, 2023
1ffc8ad
fix the dockerfile to auto precompile on building
syphax-bouazzouni Dec 1, 2023
f02d1a3
fix the dockerfile to auto precompile on building
syphax-bouazzouni Dec 1, 2023
378945e
Merge branch 'development' of github.com:ontoportal-lirmm/bioportal_w…
syphax-bouazzouni Dec 4, 2023
814180d
Fix: add prefixes to raw data properties (#393)
SirineMhedhbi Dec 5, 2023
0d7e29b
Merge branch 'master' into development
syphax-bouazzouni Dec 5, 2023
df03606
Merge branch 'development' of github.com:ontoportal-lirmm/bioportal_w…
syphax-bouazzouni Dec 5, 2023
1781aa5
Merge branch 'master'
syphax-bouazzouni Dec 5, 2023
26e55c0
Merge to master: Release 2.7.0.2 - Adds all the view components, wit…
syphax-bouazzouni Dec 5, 2023
8f4abab
Merge branch 'master' into development
syphax-bouazzouni Dec 5, 2023
acb1632
Merge branch 'master' into development
syphax-bouazzouni Dec 5, 2023
c49a0c7
Merge branch 'master' into development
syphax-bouazzouni Dec 5, 2023
1f0d571
Merge branch 'development' of github.com:ontoportal-lirmm/bioportal_w…
syphax-bouazzouni Dec 6, 2023
fafb0ca
Fix: changes in search, footer, summary and browse pages (#398)
SirineMhedhbi Dec 6, 2023
8d3972f
Fix: the account creation page content (#401)
SirineMhedhbi Dec 6, 2023
f84efe3
Merge branch 'development' of github.com:ontoportal-lirmm/bioportal_w…
syphax-bouazzouni Dec 6, 2023
101d153
Fix: add back button in upload ontology form (#397)
Bilelkihal Dec 7, 2023
61927a4
Fix: Login with email and add option to disable some external auth p…
Bilelkihal Dec 7, 2023
8b196b5
Fix: adding new submission action and add a system for it (#403)
syphax-bouazzouni Dec 7, 2023
ce0c33b
Fix: summary pages visual and content issues (#395)
Bilelkihal Dec 7, 2023
5204c0c
Merge branch 'development' of github.com:ontoportal-lirmm/bioportal_w…
syphax-bouazzouni Dec 7, 2023
a443071
Fix: search returned results with multiple labels (#406)
syphax-bouazzouni Dec 8, 2023
388cbab
Fix: showing loader when there is no properties & Register form bug n…
SirineMhedhbi Dec 8, 2023
2496e22
Merge remote-tracking branch 'origin/development' into development
syphax-bouazzouni Dec 8, 2023
6e73930
Fix: MultiLingual selectors to have a more clear usage (#407)
syphax-bouazzouni Dec 10, 2023
4c2134f
Merge branch 'development' of github.com:ontoportal-lirmm/bioportal_w…
syphax-bouazzouni Dec 10, 2023
1d495a4
Fix: Remove JQuery validate (#410)
SirineMhedhbi Dec 13, 2023
f1a44fb
Feature: Add agent display component (#404)
Bilelkihal Dec 15, 2023
891c064
Merge branch 'master' into development
syphax-bouazzouni Dec 15, 2023
502053e
Fix: Optimize some pages load speed (metadata curator, summary, agent…
syphax-bouazzouni Dec 18, 2023
49b067e
make recommender & annotator section smaller in home page
Bilelkihal Dec 18, 2023
b5e92c5
add a 'add sample text' button in
Bilelkihal Dec 18, 2023
a8e6ca4
Combine support and collaborations sections in one section on home page
Bilelkihal Dec 19, 2023
fe50bca
add discover ontologies button on home page
Bilelkihal Dec 19, 2023
8201d25
fix home page hardcoded colors
Bilelkihal Dec 19, 2023
38895e9
Merge branch 'development' into fix/home-issues
Bilelkihal Dec 20, 2023
958b6c4
remove home search auto scroll down
Bilelkihal Dec 20, 2023
b7930bf
revert merge mistakes in home issues PR
Bilelkihal Jan 9, 2024
f9afffe
add sample text to local files in home page
Bilelkihal Jan 9, 2024
2d5b4b3
Merge branch 'development' into fix/home-issues
Bilelkihal Jan 9, 2024
746d463
extract discover ontologies button on home page to a helper
Bilelkihal Jan 10, 2024
b63a4e8
extract sample text js in home page to a stimulus controller
Bilelkihal Jan 10, 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
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ gem "net-ftp", "~> 0.2.0", require: false
gem "net-http", "~> 0.3.2"



gem "bugsnag", "~> 6.26"
20 changes: 14 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ GEM
popper_js (>= 1.14.3, < 2)
sassc-rails (>= 2.0.0)
brakeman (5.4.1)
bugsnag (6.26.0)
concurrent-ruby (~> 1.0)
builder (3.2.4)
capistrano (3.18.0)
airbrussh (>= 1.0.0)
Expand Down Expand Up @@ -311,12 +313,13 @@ GEM
racc (~> 1.4)
nokogiri (1.15.5-x86_64-linux)
racc (~> 1.4)
oauth2 (1.4.11)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 4)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
oj (3.16.3)
bigdecimal (>= 3.0)
omniauth (2.1.1)
Expand All @@ -326,11 +329,10 @@ GEM
omniauth-github (2.0.0)
omniauth (~> 2.0)
omniauth-oauth2 (~> 1.7.1)
omniauth-google-oauth2 (1.0.1)
omniauth-google-oauth2 (0.8.0)
jwt (>= 2.0)
oauth2 (~> 1.1)
omniauth (~> 2.0)
omniauth-oauth2 (~> 1.7.1)
omniauth (>= 1.1.1)
omniauth-oauth2 (>= 1.6)
omniauth-keycloak (1.5.1)
faraday
json-jwt (> 1.13.0)
Expand Down Expand Up @@ -484,6 +486,9 @@ GEM
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
smart_properties (1.17.0)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
spawnling (2.1.5)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -525,6 +530,7 @@ GEM
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
uri (0.13.0)
version_gem (1.1.3)
view_component (2.82.0)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
Expand All @@ -547,12 +553,14 @@ GEM
PLATFORMS
x86_64-darwin-23
x86_64-linux
x86_64-linux-musl

DEPENDENCIES
bcrypt_pbkdf (>= 1.0, < 2.0)
bootsnap
bootstrap (~> 4.2.0)
brakeman
bugsnag (~> 6.26)
capistrano (~> 3.11)
capistrano-bundler
capistrano-locally
Expand Down
1 change: 1 addition & 0 deletions app/assets/images/icons/arrow-curved-up.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/components/regular_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}

.secondary-button {
color: var(--primary-color);
color: var(--primary-color) !important;
border: 1px solid var(--primary-color);
transition: background-color ease 0.3s;
background-color: rgba(0, 0, 0, 0) !important;
Expand Down
38 changes: 36 additions & 2 deletions app/assets/stylesheets/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,16 @@ i.fa.fa-caret-square-o-down {
.home-upload-benifits div img{
margin-top: 3px
}
.home-upload-ontology-button{
.home-ontologies-actions{
display: flex;
align-items: center;
margin-top: 30px;

}
.home-upload-ontology-button{

width: fit-content;
margin-right: 20px;
}

.home-upload-icon {
Expand All @@ -249,11 +256,35 @@ i.fa.fa-caret-square-o-down {
.home-services-buttons{
background-color: white;
border-radius: 8px;
padding: 20px;
padding: 0;
display: flex;
justify-content: flex-end;
align-items: center;
}
.home-services-buttons.container{
padding: 0 30px 30px 0;
}
.home-services-buttons .insert-sample-text-button{
display: flex;
align-items: center;
margin-right: 20px;
}
.home-services-buttons .insert-sample-text-button:hover{
cursor: pointer;
}
.home-services-buttons .insert-sample-text-button div{
color: var(--primary-color);
margin-right: 5px;
font-weight: 500;
}
.home-services-buttons .insert-sample-text-button svg{
width: 18px;
height: 18px;
}
.home-services-buttons .insert-sample-text-button svg path{
fill: var(--primary-color);

}
.home-card{
border-radius: 8px;
box-shadow: 2px 30px 60px rgba(0, 0, 0, 0.1);
Expand Down Expand Up @@ -293,6 +324,9 @@ i.fa.fa-caret-square-o-down {
color: white !important;
background-color: var(--primary-color);
}
.home-get-recommendations svg path{
fill: var(--primary-color)
}
.home-get-recommendations:hover .home-play-icon path{
fill: white;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default class extends Controller {
itemLinkBase: String,
idKey: String,
cache: {type: Boolean, default: true},
scrollDown: {type: Boolean, default: true}
}

connect() {
Expand Down Expand Up @@ -39,35 +38,7 @@ export default class extends Controller {
#useCache() {
return this.cacheValue
}
#scrollDownEnabled(){
return this.scrollDownValue
}

#scrollDown(currentScroll) {
const startPosition = window.pageYOffset;
const distance = 300 - currentScroll;
const duration = 1000;
let start = null;

function scrollAnimation(timestamp) {
if (!start) start = timestamp;
const progress = timestamp - start;
const scrollPosition = startPosition + easeInOutCubic(progress, 0, distance, duration);
window.scrollTo(0, scrollPosition);
if (progress < duration) {
window.requestAnimationFrame(scrollAnimation);
}
}

function easeInOutCubic(t, b, c, d) {
t /= d / 2;
if (t < 1) return c / 2 * t * t * t + b;
t -= 2;
return c / 2 * (t * t * t + 2) + b;
}

window.requestAnimationFrame(scrollAnimation);
}

#fetchItems() {
if (this.items.length !== 0 && this.#useCache()) {
Expand Down Expand Up @@ -130,9 +101,7 @@ export default class extends Controller {
this.dropDown.style.display = "block";

this.input.classList.add("home-dropdown-active");
if ((window.scrollY < 300) && this.#scrollDownEnabled()) {
this.#scrollDown(window.scrollY);
}


} else {
this.dropDown.style.display = "none";
Expand Down
12 changes: 1 addition & 11 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ def detect_locale
helper :all # include all helpers, all the time
helper_method :bp_config_json, :current_license, :using_captcha?

unless Rails.env.development? || Rails.env.test?
if !Rails.env.development? && !Rails.env.test?
rescue_from ActiveRecord::RecordNotFound, with: :not_found_record
#rescue_from StandardError, with: :internal_server_error
end

# Pull configuration parameters for REST connection.
Expand Down Expand Up @@ -811,13 +810,4 @@ def not_found_record(exception)

render 'errors/not_found', status: 404
end

def internal_server_error(exception)
current_user = session[:user] if defined?(session)
request_ip = request.remote_ip if defined?(request)
current_url = request.original_url if defined?(request)

Notifier.error(exception, current_user, request_ip, current_url).deliver_now
render 'errors/internal_server_error', status: 500
end
end
2 changes: 1 addition & 1 deletion app/helpers/metadata_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def display_attribute(metadata, value)
elsif attr_uri?(metadata)
render LinkFieldComponent.new(value: value)
elsif input_type?(attr_metadata(metadata), 'contact')
display_contact([value]).html_safe
Bilelkihal marked this conversation as resolved.
Show resolved Hide resolved
display_contact(value)
else
render TextAreaFieldComponent.new(value: value.to_s)
end
Expand Down
35 changes: 20 additions & 15 deletions app/views/home/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,28 @@
%img{:src => asset_path("check-outlined.svg")}/
%p
= benefit

%div.home-upload-ontology-button
= upload_ontology_button
.home-ontologies-actions
.home-upload-ontology-button
= upload_ontology_button
.discover-ontologies
= render Buttons::RegularButtonComponent.new(id: 'discover-ontologies-button', value: t('home.discover_ontologies_button'), variant: "secondary", state: "regular", href: "/ontologies") do |btn|
Bilelkihal marked this conversation as resolved.
Show resolved Hide resolved
- btn.icon_right do
- inline_svg_tag "arrow-right.svg"

.home-section
%h4
= t('home.recommender_annotator')
%hr.home-section-line/
.home-card
%form{action: "/annotator_recommender_form", method: "post"}
%textarea.home-recommendations-and-annotations{rows: "6" , placeholder: t('home.paste_text_prompt'), name: "text"}
%textarea.home-recommendations-and-annotations{rows: "4" , placeholder: t('home.paste_text_prompt'), name: "text"}
%input.d-none{type: "submit", name: "submit_button" ,value: "annotator", id: "annotator_submit"}/
%input.d-none{type: "submit" , name: "submit_button" ,value: "recommender", id: "recommender_submit"}/
.home-services-buttons
.home-services-buttons.container
.insert-sample-text-button{onclick: "insertSampleText()"}
%div
Insert sample text
= inline_svg_tag 'icons/arrow-curved-up.svg'
.home-get-recommendations{onclick: "submitRecommender()"}
%p= t('home.get_recommendations')
= inline_svg_tag "play.svg", class: "home-play-icon"
Expand Down Expand Up @@ -168,20 +176,12 @@
.home-section
.home-statistics-container
.home-support-title
%p= t('home.supported_by')
%p= t('home.support_and_collaborations')
%hr.home-section-line/
.home-support-items
- $HOME_PAGE_LOGOS[:supported_by].each do |logo|
- $HOME_PAGE_LOGOS.each do |logo|
%a{href:logo[:url], target: "_blanc"}
%img{src: asset_path(logo[:img_src])}
.home-support-title
%p= t('home.with_collaboration')
%hr.home-section-line/
.home-support-items
- $HOME_PAGE_LOGOS[:with_the_collaboration_of].each do |logo|
%a{href:logo[:url], target: "_blanc"}
%img{src: asset_path(logo[:img_src]), class: 'custom-logo-class'}



:javascript
Expand All @@ -191,4 +191,9 @@
function submitRecommender(){
document.getElementById("recommender_submit").click()
}
let recommenderAnnotatorArea = document.querySelector('.home-recommendations-and-annotations');

function insertSampleText(){
recommenderAnnotatorArea.value = 'Melanoma is a malignant tumor of melanocytes found mainly in the skin but also in the intestine and the eye.';
Bilelkihal marked this conversation as resolved.
Show resolved Hide resolved
}

14 changes: 12 additions & 2 deletions app/views/ontologies/sections/_additional_metadata.html.haml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
= turbo_frame_tag 'application_modal_content' do
- sub_hash = @submission_latest.to_hash.except(:context, :links, :ontology)
Bilelkihal marked this conversation as resolved.
Show resolved Hide resolved
%div.card.overflow-hidden{style: 'border-radius: 20px;'}
%section{style:'height: 70vh; overflow-y: scroll'}
%div
= render Display::AlertComponent.new(closable: false) do
%div.d-flex.align-items-center
%div{style:'width: 50px; height: 50px'}
- sub_values = sub_hash.values
- count = sub_values.count{|x| !(x.nil? || x.to_s.empty?)}
= render CircleProgressBarComponent.new(count: count , max: sub_values.size )
%div.mx-1
of the metadata attributes were filled
%section.px-4{style:'height: 70vh; overflow-y: scroll'}
= render SubmissionMetadataComponent.new(submission: @submission_latest, submission_metadata: submission_metadata) unless @submission_latest.nil?
%div.scroll-message.text-center.py-3.bg-light.text-primary
%p.scroll-text.mb-0
Scroll down to see more
%i.scroll-icon.fa.fa-chevron-down
%i.scroll-icon.fa.fa-chevron-down
11 changes: 4 additions & 7 deletions config/bioportal_config_env.rb.sample
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ $FRONT_NOTICE = ''
# Site notice appears on all pages and remains closed indefinitely. Stored below as a hash with a unique key and a string message
# EX: $SITE_NOTICE = { :unique_key => 'Put your message here (can include <a href="/link">html</a> if you use single quotes).' }
$SITE_NOTICE = {}
$HOME_PAGE_LOGOS = {
supported_by: [
$HOME_PAGE_LOGOS = [
{
img_src: 'logos/supports/numev.png',
url: 'http://www.lirmm.fr/numev',
Expand All @@ -151,9 +150,7 @@ $HOME_PAGE_LOGOS = {
img_src: 'logos/supports/eu.png',
url: 'https://commission.europa.eu/research-and-innovation_en',
target: '_blank'
}
],
with_the_collaboration_of: [
},
{
img_src: 'logos/collaboration/d2kab.png',
url: 'http://d2kab.mystrikingly.com',
Expand All @@ -174,8 +171,8 @@ $HOME_PAGE_LOGOS = {
url: 'https://www.stanford.edu',
target: '_blank'
}
]
}
]


$FOOTER_LINKS = {
social: [
Expand Down
3 changes: 3 additions & 0 deletions config/initializers/bugsnag.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugsnag.configure do |config|
config.api_key = "00ccc6304835fbd8f08f6764a6611704"
Bilelkihal marked this conversation as resolved.
Show resolved Hide resolved
end
5 changes: 3 additions & 2 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,14 @@ de:
ontology_upload_benefits: 'Indem Sie Ihre Ontologie auf %{site} hochladen, können
Sie:'
ontology_upload_button: Ontologie hochladen
discover_ontologies_button: Ontdek ontologieën
ontology_upload_desc: Das Hochladen einer Ontologie ist eine Möglichkeit, Ihr
Fachwissen mit anderen zu teilen.
paste_text_prompt: Einfügen eines Textabsatzes oder einiger Schlüsselwörter ...
recommender_annotator: Empfehlungsgeber und Kommentator
supported_by: Unterstützt von
support_and_collaborations: Ondersteuning en samenwerkingen
twitter_news: Nachrichten
with_collaboration: In Zusammenarbeit mit der

input: Eingabe
insert_sample_text: Beispieltext einfügen
keywords: Schlüsselwörter
Expand Down
Loading
Loading