- Nov 12, 2019
-
-
Kristof De Langhe authored
-
- Oct 31, 2019
-
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
- Oct 29, 2019
-
-
Kristof De Langhe authored
-
Kristof De Langhe authored
Conflicts: src/app/shared/mocks/mock-request.service.ts
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
Merge remote-tracking branch 'origin/performance-improvements-fall-2019' into w2p-65717_Bundles-in-edit-item Conflicts: src/app/core/shared/hal-endpoint.service.ts
-
- Oct 28, 2019
-
-
Art Lowel authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
- Oct 24, 2019
-
-
Kristof De Langhe authored
-
- Oct 23, 2019
-
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
65717: Remove object updates on page url (only bundles now) and added support for tracking custom order changes, discard and reinstate
-
- Oct 22, 2019
-
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
- Oct 21, 2019
-
-
Tim Donohue authored
Correct baseUrl in local.cfg used by e2e tests
-
Tim Donohue authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
- Oct 18, 2019
-
-
Kristof De Langhe authored
-
Kristof De Langhe authored
-
Kristof De Langhe authored
Conflicts: src/app/+item-page/edit-item-page/edit-item-page.module.ts src/app/core/core.module.ts src/app/core/data/item-data.service.ts src/app/shared/shared.module.ts
-
- Oct 17, 2019
-
-
Art Lowel authored
Collections pages: add collection header and footer to all "browse by..." views
-
- Oct 15, 2019
- Oct 14, 2019
-
-
Kristof De Langhe authored
-
- Oct 10, 2019
-
-
Tim Donohue authored
Item-Collection mapper
-
Kristof De Langhe authored
-
- Oct 08, 2019
-
-
L. Henze authored
-
L. Henze authored
Because we're working with ngModel, we're no longer getting a generic JS event in the onSelectChange, but simply the id of the selected option. I use that Id to find the option in the allOptions array that matches, and then use the data inside that matching option to navigate to the correct page.
-
L. Henze authored
That currentOptionId$ observable is then used in the template to set the ngModel for the select, which, as mentioned above, should have been enough to select the correct option, but as it wasn't I also use it to set the selected attribute on the options
-
L. Henze authored
Next in order to know what page we're on, I use the route.url observable angular provides us that contains the current url, pipe that through a filter to ensure it has a value for the map below, which will just get the last part of the current url, so the community or collection id, or the type of the browse page.
-
L. Henze authored
I created a list in the component that contains all the possible values a button or an option in the select can have, that way we can get rid of those *ngIfs in the template, and render everything with an *ngFor Instead of putting all the data needed to select an option and to redirect to the correct option in the template, I created an interface to represent all the info we need: ComColPageNavOption During ngOnInit, I first take the browseBy types in the config, and perform a map operation on them, that basically means, turn every element of this array in to something else using the function inside the map operator. So inside the map function I each BrowseByTypeConfig object in to a ComColPageNavOption object Afterwards I check whether we're dealing with a collection or a community, and in each case I create a ComColPageNavOption object, and add it to the front of the allOptions array ...this.allOptions means enumerate everything that's currently in the allOptions array, so I put my new object first, then enumerate everything that was already there, and assign the result again to this.allOptions
-
L. Henze authored
-