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

✨ [#1797] Show filename(s) in success msg for document upload #837

Merged
merged 3 commits into from
Nov 10, 2023

Conversation

stevenbal
Copy link
Contributor

@stevenbal stevenbal commented Nov 6, 2023

@stevenbal stevenbal marked this pull request as draft November 6, 2023 15:40
@stevenbal stevenbal force-pushed the feature/1797-success-message-after-file-upload branch 3 times, most recently from 7565db0 to 08da81a Compare November 9, 2023 09:47
@stevenbal stevenbal force-pushed the feature/1797-success-message-after-file-upload branch from 08da81a to 136638f Compare November 9, 2023 10:30
@codecov-commenter
Copy link

Codecov Report

Merging #837 (136638f) into develop (3743516) will decrease coverage by 0.01%.
The diff coverage is 88.88%.

@@             Coverage Diff             @@
##           develop     #837      +/-   ##
===========================================
- Coverage    92.84%   92.84%   -0.01%     
===========================================
  Files          752      752              
  Lines        26127    26136       +9     
===========================================
+ Hits         24257    24265       +8     
- Misses        1870     1871       +1     
Files Coverage Δ
src/open_inwoner/cms/cases/views/status.py 88.53% <100.00%> (+0.08%) ⬆️
...rc/open_inwoner/openzaak/tests/test_case_detail.py 100.00% <100.00%> (ø)
...pen_inwoner/components/templatetags/string_tags.py 88.23% <80.00%> (-3.44%) ⬇️

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@stevenbal stevenbal changed the title [Draft] ✨ [#1797] Show filename(s) in success msg for document upload ✨ [#1797] Show filename(s) in success msg for document upload Nov 9, 2023
@stevenbal stevenbal marked this pull request as ready for review November 9, 2023 10:54
@@ -92,4 +92,12 @@
position: inherit;
}
}

& &__content {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it usual to have block and element as part of the same class? I'm familiar with block__element block__element--modifier but haven't seen block block__element before. Or perhaps I misunderstand the & & syntax.


<div class="notifications">
{% for message in messages %}
{% notification icon=message.icon type=message.level_tag message=message.message closable=True compact=compact %}
{% with as_markdown=message.extra_tags|is_substring:"as_markdown" %}
Copy link
Contributor

Choose a reason for hiding this comment

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

extra_tags|has_as_substring:"as_markdown" would read more natural imho (similarly for the signature of the tag).

Copy link
Contributor

@pi-sigma pi-sigma left a comment

Choose a reason for hiding this comment

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

Couple minor suggestions/questions.

@alextreme alextreme merged commit 142ef87 into develop Nov 10, 2023
14 checks passed
@alextreme alextreme deleted the feature/1797-success-message-after-file-upload branch November 10, 2023 16:07
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.

4 participants