-
Notifications
You must be signed in to change notification settings - Fork 17
IBX-9807: Introduce date range single component #1582
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
f34ab39
IBX-9807: Introduce date range single component
tischsoic bc48fef
adjust hidden styles
tischsoic 4667b8a
fix date time range single in filters
tischsoic 232af77
fix clearing dates
tischsoic 84dd0ae
after review
tischsoic be56a62
remove empty spaces
tischsoic 488353b
after QA
tischsoic 50655fe
fix time in date.time.range.single
tischsoic c293362
removed arbitrary time setting
konradoboza a007dd5
add start_date support in js
tischsoic 09d6f99
fixed data manipulation
konradoboza 112b304
uncomment form submit
tischsoic 0334cbf
[tmp] dependency to ibexa/search
konradoboza 750b5ef
fix after QA
konradoboza cda46f5
fix Apply btn refresh
tischsoic 802809c
fix tags
tischsoic e2de6e0
fix timezones
tischsoic f0e2c45
removed tmp dependency
konradoboza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/bundle/Resources/public/js/scripts/admin.date.time.range.single.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| (function (global, doc, ibexa) { | ||
| const { DateTimeRangeSingle } = ibexa.core; | ||
| const containers = doc.querySelectorAll('.ibexa-date-time-range-single'); | ||
|
|
||
| containers.forEach((container) => { | ||
| const dateTimeRangeSingle = new DateTimeRangeSingle({ | ||
| container, | ||
| }); | ||
|
|
||
| dateTimeRangeSingle.init(); | ||
| }); | ||
| })(window, window.document, window.ibexa); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick - not sure if we need this kind of variables, where you just assign property from object. :)