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: Update search page design #412

Merged
merged 739 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
739 commits
Select commit Hold shift + click to select a range
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
1838371
search page new icons
Bilelkihal Dec 12, 2023
edef379
search page new input style
Bilelkihal Dec 12, 2023
ed6d188
search page new input and advanced options html
Bilelkihal Dec 12, 2023
f77cc62
search page js controller
Bilelkihal Dec 12, 2023
c8cccab
Make search result component and add it to search page
Bilelkihal Dec 13, 2023
3939a78
add search result subcomponent
Bilelkihal Dec 14, 2023
56e765b
Add search page logic
Bilelkihal Dec 15, 2023
f71fb7d
show results id correctly in search page
Bilelkihal Dec 15, 2023
a4d7472
display ontology name and acronym correctly in search page
Bilelkihal Dec 15, 2023
a33c7a4
make search elements links work in search page
Bilelkihal Dec 15, 2023
cecf2d5
fix api query param error in search page
Bilelkihal Dec 15, 2023
dd399a0
show search results definition correctly
Bilelkihal Dec 18, 2023
4ff304d
make search page ui take all width
Bilelkihal Dec 18, 2023
1ad8b93
add empty state to search page
Bilelkihal Dec 18, 2023
7590cee
add search result component js
Bilelkihal Dec 18, 2023
e74deca
Filter Perflabs to take the most close to the search input in search …
Bilelkihal Dec 18, 2023
151ec7b
use turbo rails in search page
Bilelkihal Dec 18, 2023
b779c85
Merge branch 'development' into feature/update-search-page-design
Bilelkihal Dec 20, 2023
117749b
get all the results from the search api in one page in search page
Bilelkihal Dec 20, 2023
cf69739
make search page filters work
Bilelkihal Dec 21, 2023
4a7da10
Add ontology reuses logic
Bilelkihal Dec 21, 2023
6cfbf7b
make details and visualize buttons work in seach page
Bilelkihal Dec 22, 2023
eb13a46
add class reuses to search result component in search page
Bilelkihal Dec 22, 2023
5e61d99
add reuses to result structure in search page
Bilelkihal Dec 22, 2023
2be1640
add reuse decendents in search page
Bilelkihal Dec 22, 2023
3ca7185
tmp
Bilelkihal Dec 22, 2023
e831075
search page new icons
Bilelkihal Dec 12, 2023
63e4771
search page new input style
Bilelkihal Dec 12, 2023
6903744
search page new input and advanced options html
Bilelkihal Dec 12, 2023
fdbad73
search page js controller
Bilelkihal Dec 12, 2023
3609387
Make search result component and add it to search page
Bilelkihal Dec 13, 2023
4ddb863
add search result subcomponent
Bilelkihal Dec 14, 2023
a8dff60
Add search page logic
Bilelkihal Dec 15, 2023
8c3f8e6
show results id correctly in search page
Bilelkihal Dec 15, 2023
99aadb0
display ontology name and acronym correctly in search page
Bilelkihal Dec 15, 2023
ed45694
make search elements links work in search page
Bilelkihal Dec 15, 2023
15f2c17
fix api query param error in search page
Bilelkihal Dec 15, 2023
c47a7ed
show search results definition correctly
Bilelkihal Dec 18, 2023
c7e793b
make search page ui take all width
Bilelkihal Dec 18, 2023
1bf9e72
add empty state to search page
Bilelkihal Dec 18, 2023
3c56540
add search result component js
Bilelkihal Dec 18, 2023
69c909b
Filter Perflabs to take the most close to the search input in search …
Bilelkihal Dec 18, 2023
b78ebbf
use turbo rails in search page
Bilelkihal Dec 18, 2023
b042463
get all the results from the search api in one page in search page
Bilelkihal Dec 20, 2023
9f41395
make search page filters work
Bilelkihal Dec 21, 2023
2158cfb
Add ontology reuses logic
Bilelkihal Dec 21, 2023
9b44b4f
make details and visualize buttons work in seach page
Bilelkihal Dec 22, 2023
2f71937
add class reuses to search result component in search page
Bilelkihal Dec 22, 2023
3c385ae
add reuses to result structure in search page
Bilelkihal Dec 22, 2023
30bbd73
add reuse decendents in search page
Bilelkihal Dec 22, 2023
4060e0b
fix bugsnag gem configuration
syphax-bouazzouni Dec 24, 2023
f12ce21
simplify search result component by inferring some arguments
syphax-bouazzouni Dec 24, 2023
0191163
use d-flex bootstrap call instead options in the search result component
syphax-bouazzouni Dec 24, 2023
4b9a9c1
simplify the search parameters key naming to avoid duplication
syphax-bouazzouni Dec 24, 2023
d3bc6b2
convert all the functions the bp_search.js to search_aggregator.rb
syphax-bouazzouni Dec 24, 2023
ad46f0c
Merge remote-tracking branch 'refs/remotes/origin/feature/update-sear…
Bilelkihal Dec 25, 2023
1bca819
extract details and vizualize buttons to functions, in search result …
Bilelkihal Dec 26, 2023
1e1699f
fix ontologies filter and remove categories filter in search page
Bilelkihal Dec 26, 2023
4f131b2
Clean search result component stimulus controller code
Bilelkihal Dec 27, 2023
a5697fe
remove categories translation on search page
Bilelkihal Dec 27, 2023
8985742
extract reveal ontologies buttons to a function in search result comp…
Bilelkihal Jan 3, 2024
61ebe1d
remove duplicated annotator_recommender_form function from home contr…
Bilelkihal Jan 4, 2024
bdbc56c
make a generic stimulus controller for reveal by id
Bilelkihal Jan 4, 2024
1769742
make a stimulus controller for reveal with double button
Bilelkihal Jan 4, 2024
68200b9
extent reveal component controller to combine all reveal controllers
Bilelkihal Jan 5, 2024
fd47888
remove stimulus reveal package
Bilelkihal Jan 5, 2024
ce0a56a
Merge branch 'development' into feature/update-search-page-design
Bilelkihal Jan 5, 2024
20fd6c9
Merge branch 'development' into feature/update-search-page-design
Bilelkihal Jan 5, 2024
7082758
fix vizualise in search page
Bilelkihal Jan 5, 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
21 changes: 21 additions & 0 deletions app/components/display/search_result_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,25 @@ def initialize(title: nil, ontology_acronym: nil ,uri: nil, definition: nil, lin
def sub_component_class
@is_sub_component ? 'sub-component' : ''
end

def details_button
link_to_modal(nil, "/ajax/class_details?modal=true&ontology=#{@ontology_acronym}&conceptid=#{@uri}&styled=false", data: { show_modal_title_value: @title, show_modal_size_value: 'modal-xl' }) do
content_tag(:div, class: 'button') do
concat inline_svg_tag('icons/details.svg')
concat content_tag(:div, class: 'text') { 'Details' }
end
end
end

def visualize_button
link_to_modal(nil, "/ajax/biomixer/?ontology=#{@ontology_acronym}&conceptid=#{@uri}", data: { show_modal_title_value: @title, show_modal_size_value: 'modal-xl' }) do
content_tag(:div, class: 'button') do
concat inline_svg_tag('icons/visualize.svg')
concat content_tag(:div, class: 'text') { 'Visualize' }
end
end
end



end
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,8 @@
.text
= @definition
.actions
= link_to_modal(nil, "/ajax/class_details?modal=true&ontology=#{@ontology_acronym}&conceptid=#{@uri}&styled=false",data: { show_modal_title_value: @title, show_modal_size_value: 'modal-xl' }) do
.button
= inline_svg_tag "icons/details.svg"
.text
Details

= link_to_modal(nil, "/ajax/biomixer/?ontology=#{@ontology_acronym}&conceptid=#{@uri}",data: { show_modal_title_value: @title, show_modal_size_value: 'modal-xl' }) do
.button
= inline_svg_tag "icons/visualize.svg"
.text
Visualize
= details_button
= visualize_button
- if subresults?
.button.icon-right{'data-action': "click->search-result-component#showSubOntologies"}
syphax-bouazzouni marked this conversation as resolved.
Show resolved Hide resolved
.text
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/search_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def index
return if @search_query.empty?

params[:pagesize] = "150"

params[:ontologies] = params[:ontologies_list]&.join(",")
results = LinkedData::Client::Models::Class.search(@search_query, params).collection

@advanced_options_open = !search_params_empty?
Expand Down
14 changes: 5 additions & 9 deletions app/views/search/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@
Search language
.field
= search_language_selector(name: 'lang', selected: params[:lang])
.filter-container
.title
= t("search.categories")
Bilelkihal marked this conversation as resolved.
Show resolved Hide resolved
.field
= render Input::SelectComponent.new(id: 'search-categories', name: 'categories[]', value: categories_for_select, multiple: "multiple", selected: params[:categories])

.filter-container
.title
= t("search.ontologies")
.field

= render Input::SelectComponent.new(id: 'search-ontologies', name: 'ontologies[]', value: @onts_for_select, multiple: "multiple", selected: params[:ontologies])
- get_ontologies_data
= render Input::SelectComponent.new(id: 'search-ontologies', name: 'ontologies_list[]', value: @onts_for_select, multiple: "multiple", selected: params[:ontologies_list])

.right
.filter-container
.title
Expand Down Expand Up @@ -67,8 +63,8 @@
- reuses.each do |r|
- c.reuse(r[:root].merge(is_sub_component: true)) do |b|
- r[:descendants].each { |dd| b.subresult(dd.merge(is_sub_component: true))}

- if @search_results.empty?
- if @search_results.empty? && !@search_query.empty?
.browse-empty-illustration
%img{:src => "#{asset_path("empty-box.svg")}"}
%p No result was found
Expand Down
Loading