Skip to content

Commit c069e45

Browse files
authored
Merge pull request #543 from DigitalExcellence/release/v1.5.0
Release v1.5.0
2 parents 9341771 + 2efc344 commit c069e45

File tree

127 files changed

+2583
-1452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+2583
-1452
lines changed

CHANGELOG.md

+25-16
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,53 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

1010
### Added
1111

12-
- Implemented categories - [#475](https://github.com/DigitalExcellence/dex-frontend/issues/475)
13-
- Added filter parameters to the url, so a user can share their search settings - [#493](https://github.com/DigitalExcellence/dex-frontend/issues/493)
14-
- Added search bar inside navbar with autocomplete suggested results. - [#403](https://github.com/DigitalExcellence/dex-frontend/issues/403)
15-
- Refactored the home page. [#380](https://github.com/DigitalExcellence/dex-frontend/issues/380)
16-
- Added project recommendations on the home page. [#497](https://github.com/DigitalExcellence/dex-frontend/issues/497)
17-
1812
### Changed
1913

20-
- Clicking to the next step in the wizard step-header will now skip the step & removed orange progress bar [#460](https://github.com/DigitalExcellence/dex-frontend/issues/460)
21-
- Made Project URI optional - [#492](https://github.com/DigitalExcellence/dex-frontend/issues/492)
22-
2314
### Deprecated
2415

2516
### Removed
2617

2718
### Fixed
2819

29-
- Fixed issue where collaborator roles would always get set to developer - [#462](https://github.com/DigitalExcellence/dex-frontend/issues/462)
30-
- Fixed issue where the same project could be added multiple times by spamming the finish
31-
button [#490](https://github.com/DigitalExcellence/dex-frontend/issues/490)
32-
- Fixed issue where alerts would never get dismissed - [#441](https://github.com/DigitalExcellence/dex-frontend/issues/441)
33-
3420
### Security
3521

22+
## Release v.1.5.0-beta - 30-06-2021
23+
24+
### Added
25+
26+
- Added my projects page - [#505](https://github.com/DigitalExcellence/dex-frontend/issues/505)
27+
- Added project images. - [#464](https://github.com/DigitalExcellence/dex-frontend/issues/464)
28+
- Added images to highlights - [#463](https://github.com/DigitalExcellence/dex-frontend/issues/463)
29+
- Updated selection color to improve branding - [#539](https://github.com/DigitalExcellence/dex-frontend/issues/539)
30+
- Added bot to optimize image sizes - [#440](https://github.com/DigitalExcellence/dex-frontend/issues/540)
31+
- Added search functionality based on the number of likes - [#499](https://github.com/DigitalExcellence/dex-frontend/issues/499)
32+
33+
### Changed
34+
35+
- URL does now contain project overview filter parameters - [#517](https://github.com/DigitalExcellence/dex-frontend/issues/517)
36+
- Support multiple call-to-actions. [#454](https://github.com/DigitalExcellence/dex-frontend/issues/454)
37+
- Refactored content on the homepage - [#502](https://github.com/DigitalExcellence/dex-frontend/issues/502)
38+
- Changed location of the buttons on the project details page - [#518](https://github.com/DigitalExcellence/dex-frontend/issues/518)
39+
40+
### Fixed
41+
42+
- Resolved links in footer that navigated to non-existing pages - [#513](https://github.com/DigitalExcellence/dex-frontend/issues/513)
43+
3644
## Release v.1.4.0-beta - 07-06-2021
3745

3846
### Added
3947

4048
- Implemented categories - [#475](https://github.com/DigitalExcellence/dex-frontend/issues/475)
4149
- Added filter parameters to the url, so a user can share their search settings - [#493](https://github.com/DigitalExcellence/dex-frontend/issues/493)
4250
- Added search bar inside navbar with autocomplete suggested results. - [#403](https://github.com/DigitalExcellence/dex-frontend/issues/403)
43-
- Refactored the home page. [#380](https://github.com/DigitalExcellence/dex-frontend/issues/380)
44-
- Added project recommendations on the home page. [#497](https://github.com/DigitalExcellence/dex-frontend/issues/497)
51+
- Refactored the home page. - [#380](https://github.com/DigitalExcellence/dex-frontend/issues/380)
52+
- Added project recommendations on the home page. - [#497](https://github.com/DigitalExcellence/dex-frontend/issues/497)
4553

4654
### Changed
4755

4856
- Clicking to the next step in the wizard step-header will now skip the step & removed orange progress bar [#460](https://github.com/DigitalExcellence/dex-frontend/issues/460)
4957
- Made Project URI optional - [#492](https://github.com/DigitalExcellence/dex-frontend/issues/492)
58+
- Changed the global styling of scrollbars - [#448](https://github.com/DigitalExcellence/dex-frontend/issues/448)
5059

5160
### Fixed
5261

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dex-frontend",
3-
"version": "1.4.0-beta",
3+
"version": "1.5.0-beta",
44
"scripts": {
55
"ng": "ng",
66
"config": "ts-node set-env.ts",
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@angular-devkit/build-angular": "^0.901.13",
45-
"@angular/cli": "^9.1.13",
45+
"@angular/cli": "^9.1.15",
4646
"@angular/compiler-cli": "^9.1.13",
4747
"@angular/language-service": "^9.1.13",
4848
"@types/jasmine": "^3.6.3",

src/app/app-routing.module.ts

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ const routes: Routes = [
3131
path: 'project',
3232
loadChildren: () => import('./modules/project/project.module').then((m) => m.ProjectModule),
3333
},
34+
{
35+
path: 'user',
36+
loadChildren: () => import('./modules/user/user.module').then((m) => m.UserModule),
37+
},
3438
{
3539
path: 'account',
3640
loadChildren: () => import('./modules/account/account.module').then((m) => m.AccountModule),

src/app/components/app-layout/app-layout.component.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
<span class="caret"></span>
5353
</button>
5454
<ul *dropdownMenu aria-labelledby="button-basic" class="dropdown-menu" id="dropdown-basic" role="menu">
55-
<li role="menuitem"><a (click)="onClickSignout()" class="dropdown-item" routerLinkActive="active">Sign Out</a></li>
55+
<li role="menuitem"> <a class="dropdown-item" routerLink="user/projects">My Projects</a></li>
56+
<li role="menuitem"><a (click)="onClickSignout()" class="dropdown-item">Sign Out</a></li>
57+
5658
</ul>
5759
</div>
5860
</div>

src/app/components/app-layout/app-layout.component.scss

+10
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
width: 90px;
110110
}
111111
}
112+
.navbar-toggler {
113+
border: none;
114+
}
112115

113116
.search-bar {
114117
input[type="search"] {
@@ -165,13 +168,19 @@
165168
display: flex;
166169
align-items: flex-start;
167170
margin-left: auto;
171+
@include media-breakpoint-down(sm) {
172+
margin-left: 0px;
173+
}
168174
}
169175

170176
.profile {
171177
display: flex;
172178
align-items: center;
173179
margin-left: auto;
174180
margin-right: 24px;
181+
@include media-breakpoint-down(sm) {
182+
margin-left: 0px;
183+
}
175184

176185
h4 {
177186
margin: 0 15px 0 0;
@@ -188,6 +197,7 @@
188197
below each other
189198
*/
190199
.profile-dropdown {
200+
z-index: 9;
191201
@include media-breakpoint-down(sm) {
192202
flex-direction: column;
193203
}

src/app/components/app-layout/app-layout.component.ts

+5
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ export class AppLayoutComponent implements OnInit {
120120
this.displayBetaBanner = true;
121121
}
122122

123+
124+
public viewUserProjects() {
125+
this.router.navigate(['user/projects']);
126+
}
127+
123128
/**
124129
* Method which triggers when the user clicks on the burger menu in the header.
125130
* Toggles the navbar visibility

src/app/components/file-uploader/file-uploader.component.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@
2828
</label>
2929
</div>
3030
</div>
31-
<p class="form-footnote">The recommended dimensions for an icon are atleast 512x512</p>
31+
<p class="form-footnote">The recommended dimensions for an icon are atleast {{recommendedWidth}}x{{recommendedHeight}}</p>
3232
<div *ngIf="showPreview" class="files-list">
33-
<div class="single-file" *ngFor="let file of files; let i = index">
34-
<div class="file-info">
35-
<button type="button" class="btn btn-icon btn-danger" aria-label="error" (click)="deleteFile(i)"><span
36-
aria-hidden="true">&times;</span>
37-
</button>
38-
<img alt="image-preview" class="file-icon" [src]=file?.preview>
39-
<h4 class="file-name">
40-
{{ file?.name }}
41-
</h4>
33+
<div class="single-file" *ngFor="let file of files; let i = index">
34+
<div class="file-info">
35+
<button type="button" class="btn btn-icon btn-danger" aria-label="error" (click)="deleteFile(i)"><span
36+
aria-hidden="true">&times;</span>
37+
</button>
38+
<img alt="image-preview" class="file-icon" [src]=file?.preview>
39+
<h4 class="file-name">
40+
{{ file?.name }}
41+
</h4>
4242
<h4 class="file-size">
4343
{{ file?.readableSize }}
4444
</h4>

0 commit comments

Comments
 (0)