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

Merge Review composer UX - Meeds-io/MIPs#54 #377

Merged
merged 17 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
2953211
feat: Add the ability to send a kudos from the composer - MEED-2071 -…
MayTekayaa Sep 8, 2023
07c6aa0
feat: Add CTAs below the post CTA - MEED-2072 - Meeds-io/MIPs#54 (#339)
MayTekayaa Sep 8, 2023
fe5cce3
feat: Disable send kudos button when no receiver has been added - ME…
MayTekayaa Sep 8, 2023
7155aea
fix: Improve the toolbar post CTA - MEED-2401 - Meeds-io/MIPs#54 (#336)
MayTekayaa Sep 6, 2023
f2f9bd1
fix: Remove placeholder when editing an activity - MEED-2444 - Meeds-…
MayTekayaa Sep 5, 2023
6901139
fix: Fix the send kudos button activation - MEED-2443 - Meeds-io/MIPs…
MayTekayaa Sep 5, 2023
3014a82
fix: Update the receiver field after sending kudos - MEED-2419 - Meed…
MayTekayaa Sep 8, 2023
a30539f
feat: Adjust the CTAs display from the general stream - MEED-2073 - M…
MayTekayaa Sep 12, 2023
b85843a
fix: Adjust the kudos CTA from general stream - MEED-2568 - Meeds-io…
MayTekayaa Sep 25, 2023
75dae45
feat: Add the ability to send a kudos from genral stream- MEED-2076 -…
MayTekayaa Sep 22, 2023
f75041e
fix: Fix the padding between the audience and chosen audience - MEED-…
MayTekayaa Sep 25, 2023
deb334e
fix: Add some enhancements to the the activity toolbar icons - MEED-2…
MayTekayaa Sep 25, 2023
b825e35
fix: Clean the kudos drawer after sending one to a user - MEED-2585 -…
MayTekayaa Sep 26, 2023
f1e6891
feat: Add a tooltip in the kudos drawer for reset audience icon - MEE…
MayTekayaa Sep 26, 2023
56fc1a7
fix: Review the display of the composer drawer when space audience ch…
MayTekayaa Sep 26, 2023
1a21d03
fix: Adjust the display of icons used in the composer drawer - MEED-2…
MayTekayaa Oct 2, 2023
ce22f97
fix: Align action labels below the composer - MEED-2609 -Meeds-io/MIP…
MayTekayaa Oct 2, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ NewKudosSentActivityComment.activity_kudos=<i class="uiIcon fa fa-award uiIconKu
NewKudosSentActivityComment.activity_kudos_content={3} Kudos to {1} {2}
NewKudosSentActivityComment.activity_kudos_title=Kudos to {0}

kudos.title=Kudos
exoplatform.kudos.tooltip=Send kudos
exoplatform.kudos.title.sendAKudos=Send a Kudos
exoplatform.kudos.content.to=To:
exoplatform.kudos.visibility.title=Visible to any member of:
exoplatform.kudos.visibility.yourNetwork=Your network
exoplatform.kudos.visibility.oneOfYourSpaces=One of your spaces
exoplatform.kudos.audience.reset.tooltip=Change the audience
exoplatform.kudos.choose.audience=Choose an audience:
exoplatform.kudos.title.message=Message:
exoplatform.kudos.info.noKudosLeft=No kudos left. You 'll get more kudos to send in {0} {1}.
Expand All @@ -24,13 +30,14 @@ exoplatform.kudos.warning.cantSendKudosToYourSelf=Nice try, but you can't send k
exoplatform.kudos.warning.emptyKudosList=No kudos found.

exoplatform.kudos.audience.searchPlaceholder=Start typing to search
exoplatform.kudos.audience.placeholder=My Connections
exoplatform.kudos.audience.placeholder=Choose a space
exoplatform.kudos.audience.noDataLabel=No space found

exoplatform.kudos.receiver.searchPlaceholder=Start typing to search
exoplatform.kudos.receiver.placeholder=Add Receiver
exoplatform.kudos.receiver.noDataLabel=Not found
exoplatform.kudos.receiver.noDataLabelInSpace=Not found in space
exoplatform.kudos.receiver.title=Kudos Receiver

exoplatform.kudos.error.errorSavingKudosSettings=Error saving Kudos settings. Please try again. If the problem remains, please contact your administrator
exoplatform.kudos.error.errorSendingKudos=Error sending kudos. Please try again. If the problem remains, please contact your administrator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ NewKudosSentActivityComment.activity_kudos=<i class="uiIcon fa fa-award uiIconKu
NewKudosSentActivityComment.activity_kudos_content={3} Kudos \u00E0 {1} {2}
NewKudosSentActivityComment.activity_kudos_title=Kudos \u00E0 {0}

kudos.title=Kudos
exoplatform.kudos.tooltip=Envoyer un kudos
exoplatform.kudos.title.sendAKudos=Envoyer un kudos
exoplatform.kudos.content.to=\u00C0 :
exoplatform.kudos.visibility.title=Visible par tout membre du :
exoplatform.kudos.visibility.yourNetwork=Votre réseau
exoplatform.kudos.visibility.oneOfYourSpaces=Un de vos espaces
exoplatform.kudos.audience.reset.tooltip=Changer l'audience
exoplatform.kudos.choose.audience=Choisir l'audience :
exoplatform.kudos.title.message=Message :
exoplatform.kudos.info.noKudosLeft=Vous n'avez plus de kudos disponibles. Vous aurez plus de kudos \u00E0 envoyer dans {0} {1}.
Expand All @@ -24,13 +30,14 @@ exoplatform.kudos.warning.cantSendKudosToYourSelf=Bien tent\u00E9, mais vous ne
exoplatform.kudos.warning.emptyKudosList=Aucun kudos n'a \u00E9t\u00E9 trouv\u00E9.

exoplatform.kudos.audience.searchPlaceholder=Commencez \u00E0 taper pour chercher
exoplatform.kudos.audience.placeholder=Mes Contacts
exoplatform.kudos.audience.placeholder=Choisir un espace
exoplatform.kudos.audience.noDataLabel=Aucun espace trouv\u00E9

exoplatform.kudos.receiver.searchPlaceholder=Commencez \u00E0 taper pour chercher
exoplatform.kudos.receiver.placeholder=Ajouter un destinataire
exoplatform.kudos.receiver.noDataLabel=Non trouv\u00E9
exoplatform.kudos.receiver.noDataLabelInSpace=Non trouv\u00E9 dans l'espace
exoplatform.kudos.receiver.title=Le destinataire du Kudos

exoplatform.kudos.error.errorSavingKudosSettings=Erreur lors de l'enregistrement des param\u00E8tres Kudos. Essayez \u00E0 nouveau. Si le probl\u00E8me persiste, veuillez contacter votre administrateur
exoplatform.kudos.error.errorSendingKudos=Erreur lors de l'envoi du kudos. Essayez \u00E0 nouveau et si le probl\u00E8me persiste, veuillez contacter votre administrateur
Expand Down
13 changes: 13 additions & 0 deletions kudos-webapps/src/main/webapp/vue-app/js/Kudos.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,19 @@ export function registerOverviewExtension() {
});
}

export function registerComposerExtension() {
extensionRegistry.registerComponent('ComposerAction', 'composer-action-item', {
MayTekayaa marked this conversation as resolved.
Show resolved Hide resolved
id: 'sendKudosButton',
vueComponent: Vue.options.components['send-kudos-composer'],
rank: 1,
});
extensionRegistry.registerComponent('ActivityToolbarAction', 'activity-toolbar-action', {
id: 'sendKudosToolbarButton',
vueComponent: Vue.options.components['send-kudos-toolbar-action'],
rank: 10,
});
}

export function registerFavoriteExtensions(title) {
extensionRegistry.registerExtension('ActivityFavoriteIcon', 'activity-favorite-icon-extensions', {
id: 'favorite-kudos',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default {
this.$kudosService.registerExternalExtensions(this.$t('exoplatform.kudos.title.sendAKudos'));
this.$kudosService.registerFavoriteExtensions(this.$t('exoplatform.kudos.label.to'));
this.$kudosService.registerOverviewExtension();
this.$kudosService.registerComposerExtension();
this.$kudosService.registerActivityActionExtension();
this.$kudosService.registerActivityReactionTabs();
document.addEventListener('display-activity-details', this.getActivityInformations);
Expand Down
Loading