-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from manuelosorio/fix/core-list-page-features
[Fix] Core list page features Changes: Resolves: [Bug] Items form list cannot be updated list owner. #376 Resolves: [Bug] List owner cannot add new items to a list #377 Resolves: [Bug] Authenticated users cannot create new comments #378 Resolves: [Bug] Character limit indicator not displaying remaining characters #383 Resolves: [Bug] Comment updated tooltips show creation date #384 Removes "No Deadline" state from deadline component. Improve comment creation experience. User can now edit or delete a comment they just created (without refreshing page view). Convert title in list-header component to an h1 for SEO and visual hierarchy (previously was a p element). Populate deadline input in edit-item component with item's current deadline (if applicable).
- Loading branch information
Showing
22 changed files
with
583 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
name: Build Angular | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,35 @@ | ||
@if (isOwner) { | ||
<form [formGroup]="listItemForm" (ngSubmit)="onSubmit(listItemForm.value)"> | ||
<div class="l-row"> | ||
<fieldset class="form__fieldset"> | ||
<input | ||
type="text" | ||
formControlName="item" | ||
id="list_item" | ||
class="form__input" | ||
placeholder="List Item" | ||
/> | ||
<label class="form__label" for="list_item">List Item Name</label> | ||
</fieldset> | ||
<fieldset class="form__fieldset"> | ||
<input | ||
type="date" | ||
formControlName="deadline" | ||
id="deadline" | ||
class="form__input" | ||
placeholder="Deadline" | ||
pattern="\d{4}-\d{2}-\d{2}" | ||
/> | ||
<label class="form__label" for="deadline">Deadline (Optional)</label> | ||
</fieldset> | ||
</div> | ||
<div class="l-row"> | ||
<button | ||
class="btn btn--primary form__btn" | ||
[class.btn--disabled]='item.invalid' | ||
[disabled]="item.invalid" | ||
type="submit" | ||
> | ||
Add Item | ||
</button> | ||
</div> | ||
</form> | ||
} | ||
<form [formGroup]="listItemForm" (ngSubmit)="onSubmit(listItemForm.value)"> | ||
<div class="l-row"> | ||
<fieldset class="form__fieldset"> | ||
<input | ||
type="text" | ||
formControlName="item" | ||
id="list_item" | ||
class="form__input" | ||
placeholder="List Item" | ||
/> | ||
<label class="form__label" for="list_item">List Item Name</label> | ||
</fieldset> | ||
<fieldset class="form__fieldset"> | ||
<input | ||
type="date" | ||
formControlName="deadline" | ||
id="deadline" | ||
class="form__input" | ||
placeholder="Deadline" | ||
pattern="\d{4}-\d{2}-\d{2}" | ||
/> | ||
<label class="form__label" for="deadline">Deadline (Optional)</label> | ||
</fieldset> | ||
</div> | ||
<div class="l-row"> | ||
<button | ||
class="btn btn--primary form__btn" | ||
[class.btn--disabled]='item.invalid' | ||
[disabled]="item.invalid" | ||
type="submit" | ||
> | ||
Add Item | ||
</button> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.