-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Meetings module adjustments #14086
Merged
Merged
Meetings module adjustments #14086
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
539b385
Remove the words Added by from agenda item
bsatarnejad 406126f
remove dot after author name
bsatarnejad 5136159
Remove the words Added by from agenda item
bsatarnejad a93c78c
remove dot after author name
bsatarnejad eba2ab5
Merge branch 'meetings-module-adjustments' of github.com:opf/openproj…
bsatarnejad 43263d9
hide item actions when meeting is closed
bsatarnejad d54aefe
Remove the words Added by from agenda item
bsatarnejad 7ed5cf5
remove dot after author name
bsatarnejad 679bbbc
hide item actions when meeting is closed
bsatarnejad 5856348
reduce width of duration field
bsatarnejad 841c794
Merge branch 'meetings-module-adjustments' of github.com:opf/openproj…
bsatarnejad c8d8fe2
add add notes button to actions of agenda item
bsatarnejad 7d175ff
fix focus on ckeditor when adding note
bsatarnejad e076524
move show/hide button to the bottom
bsatarnejad 0987bd3
Remove the words Added by from agenda item
bsatarnejad 909ce25
remove dot after author name
bsatarnejad 62abff8
hide item actions when meeting is closed
bsatarnejad 26fa18c
reduce width of duration field
bsatarnejad a08bb0d
add add notes button to actions of agenda item
bsatarnejad 6b3692f
fix focus on ckeditor when adding note
bsatarnejad 6ad05f1
move show/hide button to the bottom
bsatarnejad dd6fef3
The Meeting details section should be at the top (before agenda items)
bsatarnejad 96d2eba
shorten the meeting status part
bsatarnejad 2f8abfc
Merge branch 'meetings-module-adjustments' of github.com:opf/openproj…
bsatarnejad 00f1d11
remove participants in mobile mode and show them in details part
bsatarnejad ca149d7
Remove the words Added by from agenda item
bsatarnejad 02701d3
remove dot after author name
bsatarnejad 2c9f21b
hide item actions when meeting is closed
bsatarnejad da51d47
reduce width of duration field
bsatarnejad a74f931
add add notes button to actions of agenda item
bsatarnejad 926e492
fix focus on ckeditor when adding note
bsatarnejad b523780
move show/hide button to the bottom
bsatarnejad 1da4496
The Meeting details section should be at the top (before agenda items)
bsatarnejad 625b434
shorten the meeting status part
bsatarnejad 0489328
remove participants in mobile mode and show them in details part
bsatarnejad a68d3f9
use participants component in details component
bsatarnejad 6443cfe
Merge branch 'meetings-module-adjustments' of github.com:opf/openproj…
bsatarnejad a7a3454
fix merge error
bsatarnejad db0dde4
change margin top value for hidden participants
bsatarnejad d4054f2
remove duplicated code and unnecessary files
bsatarnejad 7430dfe
use system argument instead of custom classes
bsatarnejad fb4731d
change class name for changing template of closed meeting
bsatarnejad 51e5f81
remove unnecessary identifier for closed meeting
bsatarnejad 9dd8047
Merge branch dev into meetings-module-adjustments
bsatarnejad 4a5e355
Merge branch 'dev' into meetings-module-adjustments
bsatarnejad beb4df1
fix failing feature test
bsatarnejad af1dfad
remove participant component from details component
bsatarnejad 047c824
undo changes to show participants inline
bsatarnejad 43a0277
remove unnecessary methods and strings
bsatarnejad 625653b
Merge branch 'dev' into meetings-module-adjustments
bsatarnejad 56963e7
fix unit test error
bsatarnejad a2e52e8
Merge branch 'meetings-module-adjustments' of github.com:opf/openproj…
bsatarnejad 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 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
45 changes: 45 additions & 0 deletions
45
frontend/src/stimulus/controllers/dynamic/meetings-sidebar-participants.controller.ts
This file contains 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,45 @@ | ||
/* | ||
* -- copyright | ||
* OpenProject is an open source project management software. | ||
* Copyright (C) 2023 the OpenProject GmbH | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License version 3. | ||
* | ||
* OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: | ||
* Copyright (C) 2006-2013 Jean-Philippe Lang | ||
* Copyright (C) 2010-2013 the ChiliProject Team | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version 2 | ||
* of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
* See COPYRIGHT and LICENSE files for more details. | ||
* ++ | ||
*/ | ||
|
||
import { Controller } from '@hotwired/stimulus'; | ||
|
||
export default class MeetingsSidebarParticipantsController extends Controller { | ||
static targets = ['showHideButton', 'hiddenParticipants']; | ||
declare readonly showHideButtonTarget:HTMLInputElement; | ||
declare readonly hiddenParticipantsTarget:HTMLElement; | ||
|
||
showHiddenParticipants():void { | ||
if (this.hiddenParticipantsTarget.classList.contains('d-none')) { | ||
this.hiddenParticipantsTarget.classList.remove('d-none'); | ||
} else { | ||
this.hiddenParticipantsTarget.classList.add('d-none'); | ||
} | ||
} | ||
} |
This file contains 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
@import "./meeting_agenda_items/item_component/show_component.sass" | ||
@import "./meeting_agenda_items/form_component.sass" | ||
@import "./meetings/sidebar/state_component.sass" |
This file contains 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 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 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 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 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 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 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 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 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 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 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 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 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
7 changes: 7 additions & 0 deletions
7
modules/meeting/app/components/meetings/sidebar/state_component.sass
This file contains 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,7 @@ | ||
@import 'helpers' | ||
|
||
@media screen and (max-width: $breakpoint-sm) | ||
.op-meeting-sidebar-state | ||
flex-direction: row !important | ||
justify-content: space-between | ||
align-items: center |
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.
This is literally the same code as the
MeetingsSidebarDetailsController
just with a different name. Please avoid that dubplication and use the same controller for the same logic.