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

circulation policy: improve editor #440

Merged
merged 1 commit into from
Dec 10, 2020

Conversation

AoNoOokami
Copy link
Contributor

@AoNoOokami AoNoOokami commented Nov 20, 2020

Co-Authored-by: Alicia Zangger alicia.zangger@rero.ch

Why are you opening this PR?

This is part of US1759

Dependencies

My PR depends on rero-ils#<xx>'s PR(s):

rero/rero-ils#1477

How to test?

Login as a librarian and check the cipo editor.
Create a cipo with checkout duration = 0 days.
Create an item linked to this cipo.
Try to check it out, and then check it in for a patron that is also linked to this cipo.

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?

@AoNoOokami AoNoOokami self-assigned this Nov 20, 2020
@AoNoOokami AoNoOokami added this to the v0.15.0 milestone Nov 20, 2020
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch 6 times, most recently from 55613cf to 7e9cf2d Compare November 24, 2020 16:01
@iGormilhit iGormilhit added f: circulation Concerns the circulation interface or backend f: editor Concerns editor based on JSON schema AND custom editor f: professional ui Professional interface and removed custom editor labels Nov 25, 2020
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch 7 times, most recently from a04c2c6 to 9316c3b Compare November 25, 2020 14:43
<div class="col-sm-3 p-0">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">{{ currency }}</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

translate ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No because its a symbol

Copy link
Contributor

Choose a reason for hiding this comment

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

@AoNoOokami AoNoOokami marked this pull request as ready for review November 27, 2020 10:35
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch from 9316c3b to 784a1e0 Compare November 27, 2020 10:35
Copy link
Contributor

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

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

Commit message proposition:

circulation policy: improve editor

* Moves buttons to the top to harmonize with other editors.
* Corrects editor validation.
* Improves editor appearance.
* Closes rero/rero-ils#1365.
* Closes rero/rero-ils#1305.
* Adds id HTML attribute to circulation policy detail view for Cypress
  tests and improve its appearance.
* Removes useless code.

<div class="col-sm-3 p-0">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">{{ currency }}</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch 3 times, most recently from 9f83bfb to 281aa49 Compare November 30, 2020 10:48
@AoNoOokami AoNoOokami marked this pull request as draft November 30, 2020 10:49
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch from 281aa49 to f06d384 Compare December 1, 2020 08:16
@AoNoOokami AoNoOokami changed the title cipo: improve custom editor circulation policy: improve editor Dec 1, 2020
@AoNoOokami AoNoOokami requested a review from iGormilhit December 1, 2020 10:27
@AoNoOokami AoNoOokami marked this pull request as ready for review December 1, 2020 10:27
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch 3 times, most recently from c9dca75 to 1f54706 Compare December 1, 2020 16:22
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch 3 times, most recently from 9a4cd00 to 807b905 Compare December 4, 2020 13:15
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch from 807b905 to 0ce5603 Compare December 4, 2020 15:17
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch from 0ce5603 to e9997de Compare December 9, 2020 09:24
* Moves buttons to the top to harmonize with other editors.
* Corrects editor validation.
* Improves editor appearance.
* Closes rero/rero-ils#1365.
* Closes rero/rero-ils#1305.
* Adds id HTML attribute to circulation policy detail view for Cypress
  tests and improve its appearance.
* Removes useless code.
* Closes rero/rero-ils#1363.

Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
@AoNoOokami AoNoOokami force-pushed the zaa-#1882-improve-cipo-editor branch from e9997de to d7b4338 Compare December 10, 2020 09:18
@AoNoOokami AoNoOokami merged commit 3855dbd into rero:dev Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: circulation Concerns the circulation interface or backend f: editor Concerns editor based on JSON schema AND custom editor f: professional ui Professional interface
Projects
None yet
5 participants