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

CSD-3571 [Feat] - search and filter #3

Open
wants to merge 103 commits into
base: production
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
13cd80b
search and filter component
veljko7 Dec 11, 2023
68cf2ce
search and filter component
veljko7 Dec 11, 2023
c99f580
search and filter component
veljko7 Dec 11, 2023
9809242
search and filter component
veljko7 Dec 11, 2023
a9714ea
search and filter component
veljko7 Dec 11, 2023
f6e4b03
search and filter component
veljko7 Dec 11, 2023
01426f6
search and filter component
veljko7 Dec 11, 2023
044670f
search and filter component
veljko7 Dec 11, 2023
bc7864a
search and filter component
veljko7 Dec 11, 2023
a17dda4
search and filter component
veljko7 Dec 11, 2023
8b338cd
search and filter component
veljko7 Dec 11, 2023
4543e17
search and filter component
veljko7 Dec 11, 2023
74c2640
search and filter
veljko7 Dec 27, 2023
b749ebd
search and filter
veljko7 Dec 27, 2023
752d7d0
search and filter
veljko7 Dec 27, 2023
61e459d
search and filter
veljko7 Dec 27, 2023
3c7e84f
search and filter
veljko7 Dec 27, 2023
96e4dca
search and filter
veljko7 Dec 27, 2023
6d007d8
search and filter
veljko7 Dec 27, 2023
1dfc981
search and filter
veljko7 Dec 27, 2023
8867f4c
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
c40aa4b
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
3c42762
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
c090a2b
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
6ce0ad5
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
316e2dc
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
c0109a4
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
408d5ba
newDynamicListFilterColumn and newDynamicListSearchValue
veljko7 Dec 29, 2023
a9ec707
bookmarks config
veljko7 Jan 3, 2024
16ad9a3
sorting and searching config
veljko7 Jan 3, 2024
20de906
sorting and searching config
veljko7 Jan 3, 2024
bd58070
sorting and searching config
veljko7 Jan 3, 2024
219c249
sorting and searching config
veljko7 Jan 3, 2024
8276d4e
sorting and searching config
veljko7 Jan 3, 2024
c09f929
sorting and searching config
veljko7 Jan 3, 2024
e1e693a
sorting and searching config
veljko7 Jan 3, 2024
6a24485
sorting and searching config
veljko7 Jan 3, 2024
a2b94d1
sorting and searching config
veljko7 Jan 3, 2024
e396f5a
sorting and searching config
veljko7 Jan 3, 2024
c7acfa1
sorting and searching config
veljko7 Jan 3, 2024
add528a
sorting and searching config
veljko7 Jan 3, 2024
ee7b2d3
sorting and searching config
veljko7 Jan 3, 2024
4ea4240
sorting and searching config
veljko7 Jan 3, 2024
8d3be1a
sorting and searching config
veljko7 Jan 3, 2024
139e7c3
sorting and searching config
veljko7 Jan 3, 2024
5644309
sorting and searching config
veljko7 Jan 3, 2024
f0c1776
sorting and searching config
veljko7 Jan 3, 2024
e5450c7
sorting and searching config
veljko7 Jan 3, 2024
fd35cf2
sorting and searching config
veljko7 Jan 3, 2024
d485319
sorting and searching config
veljko7 Jan 3, 2024
30ef6ee
typehead
veljko7 Jan 8, 2024
742d165
typehead
veljko7 Jan 8, 2024
67d92e7
typehead
veljko7 Jan 8, 2024
630ae40
typehead
veljko7 Jan 8, 2024
c0a9dc6
typehead
veljko7 Jan 8, 2024
569ad81
typehead
veljko7 Jan 8, 2024
c7fcf43
typehead
veljko7 Jan 8, 2024
b9513d4
typehead
veljko7 Jan 8, 2024
f862950
typehead
veljko7 Jan 8, 2024
4c199ec
typehead
veljko7 Jan 8, 2024
7eb3746
typehead
veljko7 Jan 8, 2024
b5ed5d9
typehead
veljko7 Jan 8, 2024
6c318ba
typehead
veljko7 Jan 8, 2024
d81b4f8
typehead
veljko7 Jan 8, 2024
6e0bc1a
typehead
veljko7 Jan 8, 2024
51218b3
typehead
veljko7 Jan 8, 2024
7d6a49f
typehead
veljko7 Jan 8, 2024
7ec70be
typehead
veljko7 Jan 8, 2024
5e2a8b0
typehead
veljko7 Jan 8, 2024
0dee17d
typehead
veljko7 Jan 8, 2024
39fae1f
typehead
veljko7 Jan 8, 2024
aae89e5
typehead
veljko7 Jan 8, 2024
bc7c85f
typehead
veljko7 Jan 8, 2024
fb949ba
typehead
veljko7 Jan 8, 2024
a4c69ce
typehead
veljko7 Jan 8, 2024
2d4c700
typehead
veljko7 Jan 8, 2024
9294b7f
typehead
veljko7 Jan 8, 2024
7608a94
typehead
veljko7 Jan 8, 2024
a0e3f66
typehead
veljko7 Jan 8, 2024
65fcdd9
typehead
veljko7 Jan 8, 2024
6638f41
typehead
veljko7 Jan 8, 2024
01bf979
typehead
veljko7 Jan 8, 2024
8382aff
typehead
veljko7 Jan 8, 2024
54fce68
typehead
veljko7 Jan 8, 2024
2b41c84
typehead
veljko7 Jan 8, 2024
ad19e34
search and filter
veljko7 Jan 9, 2024
37f7638
search and filter
veljko7 Jan 9, 2024
2d430ee
search and filter
veljko7 Jan 9, 2024
7f4b70f
search and filter
veljko7 Jan 9, 2024
07db214
search and filter
veljko7 Jan 9, 2024
7828f57
search and filter
veljko7 Jan 9, 2024
b2275af
search and filter
veljko7 Jan 9, 2024
ee08c1c
search and filter
veljko7 Jan 9, 2024
e7a385f
search and filter
veljko7 Jan 9, 2024
e64a4b3
search and filter
veljko7 Jan 10, 2024
cb2bb56
search and filter
veljko7 Jan 10, 2024
55f67dd
search and filter
veljko7 Jan 10, 2024
29f3340
search and filter
veljko7 Jan 10, 2024
30cc948
beta tag added
veljko7 May 30, 2024
7ff97cb
Update interface.js
veljko7 Jun 3, 2024
2e0f021
Interface updated
veljko7 Jun 3, 2024
e3f2f81
update .eslintrc
veljko7 Jun 3, 2024
8944771
Merge pull request #2 from Fliplet/feature/CSD-3571-search-and-filter
illia-fliplet Jun 4, 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
23 changes: 23 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": "fliplet",
"env": {
"node": true,
"es6": true,
"jasmine": true,
"browser": true,
"jquery": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"globals": {
"_": true,
"Fliplet": true,
"interfaceBrowser": true,
"buildBrowser": true,
"interfaceUrl": true,
"buildUrl": true,
"widgetInstance": true,
"buildSelector": true
}
}
16 changes: 16 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"esversion": 6,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"freeze": true,
"indent": 2,
"newcap": true,
"quotmark": "single",
"maxdepth": 3,
"maxstatements": 15,
"maxlen": 80,
"eqnull": true,
"funcscope": true,
"node": true
}
1 change: 1 addition & 0 deletions build.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<fl-helper name="search-and-filter" data-widget-name="search-and-filter" data-search-and-filter-id="{{id}}"></fl-helper>
118 changes: 118 additions & 0 deletions css/build.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
fl-helper[name="search-and-filter"] .sort-option-icon {
display: none;
}

fl-helper[name="search-and-filter"] .sort-option-icon.active {
display: block;
}

fl-helper[name="search-and-filter"] .sort-container {
display: inline-block;
position: relative;
}

fl-helper[name="search-and-filter"] .sort-container .sort-options-container {
min-width: 120px;
position: absolute;
background: #fff;
box-shadow: 0 0 14px 1px #e4e4e4;
border-radius: 4px;
right: 0;
top: 25px;
display: none;
z-index: 10;
}

fl-helper[name="search-and-filter"] .sort-container .sort-options-container ul {
list-style: none;
padding: 0;
margin: 0;
}

fl-helper[name="search-and-filter"] .sort-container .sort-options-container ul .sort-option {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px;
cursor: pointer;
}

fl-helper[name="search-and-filter"] .sort-container .sort-options-container ul .sort-option:hover {
background: #f8f8f8;
cursor: pointer;
}

fl-helper[name="search-and-filter"] .cursor-pointer {
cursor: pointer;
}

fl-helper[name="search-and-filter"] .bookmark-icon {
display: none;
}

fl-helper[name="search-and-filter"] .bookmark-icon.active {
display: inline-block;
}

fl-helper[name="search-and-filter"] .search-container {
user-select: none;
padding: 0 5px;
width: 100%;
display: flex;
align-items: center;

}

fl-helper[name="search-and-filter"] .search-container .action-icons {
padding-top: 8px;
}

fl-helper[name="search-and-filter"] .search-container .action-icons i {
margin-left: 8px;
}

fl-helper[name="search-and-filter"] .search-filter-container {
display: flex;
align-items: center;
border: 1px solid #d5d5d5;
border-radius: 24px;
padding: 1px;
margin-top: 10px;
flex: 1 0 auto;
}

fl-helper[name="search-and-filter"] .search-filter-container .search-input {
flex: 1 0 auto;
border-color: transparent;
height: 42px;
}

fl-helper[name="search-and-filter"] .search-filter-container.search-input::placeholder {
color: #d5d5d5;
opacity: 1;
}

fl-helper[name="search-and-filter"] .search-input:focus {
border-color: transparent !important;
outline: none;
}

fl-helper[name="search-and-filter"] .search-input:focus-visible {
border-color: transparent !important;
}

fl-helper[name="search-and-filter"] .search-input:active {
border-color: transparent;
}

fl-helper[name="search-and-filter"] .search-button {
border-radius: 24px;
border-color: transparent;
background: #f2f0f0;
width: 80px;
height: 44px;
}

fl-helper[name="search-and-filter"] .fa-search {
padding: 0 5px;
}
Binary file added img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions interface.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- See js/interface.js for usage -->
Loading