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

fix: [AXIMST-488-489] Textbooks: file size and upload connection alert #174

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

vladislavkeblysh
Copy link

  • Fixed upload file max size
  • Fixed internet connection alert

AXIMST-488
AXIMST-489

@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (ts-develop@0ea5dd3). Click here to learn what that means.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff              @@
##             ts-develop     #174   +/-   ##
=============================================
  Coverage              ?   89.22%           
=============================================
  Files                 ?      671           
  Lines                 ?    11265           
  Branches              ?     2378           
=============================================
  Hits                  ?    10051           
  Misses                ?     1175           
  Partials              ?       39           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vladislavkeblysh vladislavkeblysh changed the title fix: [AXIMST-488-489] file size and upload connection alert fix: [AXIMST-488-489] Textbooks: file size and upload connection alert Feb 19, 2024
@import "./empty-placeholder/EmptyPlaceholder";
@import "./textbook-card/TextbookCard";
@import "./textbook-form/TextbookForm";

.alert-toast {
z-index: $popover !important;

Choose a reason for hiding this comment

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

[important]: Try to use Paragon SCSS variable

Suggested change
z-index: $popover !important;
z-index: $zindex-tooltip !important;

Copy link

Choose a reason for hiding this comment

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

@PKulkoRaccoonGang We have the same variable for certificates page, should we change there also?

Copy link

Choose a reason for hiding this comment

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

i remember that you suggested exactly this naming so im curious

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

Comment on lines 23 to 26
import { useModel } from '../../generic/model-store';
import textbookFormValidationSchema from './validations';
import messages from './messages';
import { UPLOAD_FILE_MAX_SIZE } from '../../constants';

Choose a reason for hiding this comment

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

Suggested change
import { useModel } from '../../generic/model-store';
import textbookFormValidationSchema from './validations';
import messages from './messages';
import { UPLOAD_FILE_MAX_SIZE } from '../../constants';
import { useModel } from '../../generic/model-store';
import { UPLOAD_FILE_MAX_SIZE } from '../../constants';
import textbookFormValidationSchema from './validations';
import messages from './messages';

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Collaborator

@monteri monteri left a comment

Choose a reason for hiding this comment

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

LGTM, resolve comments and ready to merge

@monteri monteri merged commit 67b44bc into ts-develop Feb 20, 2024
3 checks passed
ihor-romaniuk pushed a commit that referenced this pull request Feb 29, 2024
#174)

* fix: [AXIMST-488-489] file size and upload connection alert

* fix: [AXIMST-488-489] refactor after review
ihor-romaniuk pushed a commit that referenced this pull request Feb 29, 2024
#174)

* fix: [AXIMST-488-489] file size and upload connection alert

* fix: [AXIMST-488-489] refactor after review
khudym pushed a commit that referenced this pull request Mar 25, 2024
#174)

* fix: [AXIMST-488-489] file size and upload connection alert

* fix: [AXIMST-488-489] refactor after review
monteri pushed a commit that referenced this pull request Apr 1, 2024
#174)

* fix: [AXIMST-488-489] file size and upload connection alert

* fix: [AXIMST-488-489] refactor after review
monteri pushed a commit that referenced this pull request Apr 29, 2024
#174)

* fix: [AXIMST-488-489] file size and upload connection alert

* fix: [AXIMST-488-489] refactor after review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants