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

Update FlashMessage styles - Closes #3732 #3810

Merged
merged 12 commits into from
Sep 27, 2021

Conversation

isalga
Copy link
Contributor

@isalga isalga commented Sep 22, 2021

What was the problem?

This PR resolves #3732

How was it solved?

  • Implement styles

How was it tested?

Force flash message to display always. (Will be removed before merge once PR is approved)

@isalga isalga self-assigned this Sep 22, 2021
@isalga isalga marked this pull request as ready for review September 24, 2021 13:31
@isalga isalga removed the request for review from sridharmeganathan September 24, 2021 13:33

const { ipc } = window;
// const { ipc } = window;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we removing the IPC?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to display the message. It will reverted once changes are approved.

@@ -1,4 +1,4 @@
import { toast } from 'react-toastify';
/* import { toast } from 'react-toastify';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the tests should exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will reverted once changes are approved and before merging. It was commented in order to pass lint and supply a deployment test

@@ -48,7 +53,7 @@ const useIpc = (history) => {

ipc.on('update:downloading', (action, { label }) => {
toast.success(label);
});
}); */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will be reverted after approved. They were meant to bypass ipc and directly show the message

@@ -1,4 +1,4 @@
import { toast } from 'react-toastify';
/* import { toast } from 'react-toastify';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will be reverted after approved.

ikem-legend
ikem-legend previously approved these changes Sep 24, 2021
ManuGowda
ManuGowda previously approved these changes Sep 24, 2021
Copy link
Contributor

@ManuGowda ManuGowda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

except the reminders, all looks good, please revert the changes

src/app/index.js Outdated
@@ -29,7 +29,8 @@ const App = ({ history }) => {
const theme = useSelector(state => (state.settings.darkMode ? 'dark' : 'light'));
const serviceUrl = useSelector(selectServiceUrl);

useIpc(history);
useIpc();
// useIpc(history);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder to add it back

Comment on lines 12 to 13
version = '2.0.3',
releaseSummary = 'This version improves the overall usability and responsiveness of the application UI.',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these default values? if its for testing, reminder to remove them

ann-vashchenko
ann-vashchenko previously approved these changes Sep 27, 2021
@isalga isalga requested a review from ManuGowda September 27, 2021 11:11
@isalga isalga merged commit 3626151 into development Sep 27, 2021
@isalga isalga deleted the 3732-Improve-notification-usability branch September 27, 2021 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve the usability of the release notification message
4 participants