mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
new client - quest / seasonal / time travelers shops (#8903)
* initial quests.vue - refactorings - add group to quests * shows quests by quest-group * buyQuestModal with rewards sidebar * store / actions to load seasonal/time-travelers shop data * buyModal buyPressed instead of buyAction - seasonal shop categories now with specialClass property - seasonal shop * time travelers vue - show hourglass in shopItem / buyDialog - fix banners * cleanup * show amount of already owned quests * show html notes in popovers / dialog * extract purchase-api to common.ops.purchaseWithSpell to call the same in the store / update the UI on purchases * add time-travelers sprites * fix lint * add last mystery set images * remove unused Page * remove equipment from newClient.json
This commit is contained in:
@@ -6,7 +6,6 @@ import getStore from 'client/store';
|
||||
|
||||
// TODO Dummy elements used as placeholder until real components are implemented
|
||||
import ParentPage from './components/parentPage';
|
||||
import Page from './components/page';
|
||||
|
||||
// Static Pages
|
||||
const AppPage = () => import(/* webpackChunkName: "static" */'./components/static/app');
|
||||
@@ -82,6 +81,9 @@ const ChallengeDetail = () => import(/* webpackChunkName: "challenges" */ './com
|
||||
// Shops
|
||||
const ShopsContainer = () => import(/* webpackChunkName: "shops" */'./components/shops/index');
|
||||
const MarketPage = () => import(/* webpackChunkName: "shops-market" */'./components/shops/market/index');
|
||||
const QuestsPage = () => import(/* webpackChunkName: "shops-quest" */'./components/shops/quests/index');
|
||||
const SeasonalPage = () => import(/* webpackChunkName: "shops-seasonal" */'./components/shops/seasonal/index');
|
||||
const TimeTravelersPage = () => import(/* webpackChunkName: "shops-timetravelers" */'./components/shops/timeTravelers/index');
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
@@ -115,9 +117,9 @@ const router = new VueRouter({
|
||||
component: ShopsContainer,
|
||||
children: [
|
||||
{ name: 'market', path: 'market', component: MarketPage },
|
||||
{ name: 'quests', path: 'quests', component: Page },
|
||||
{ name: 'seasonal', path: 'seasonal', component: Page },
|
||||
{ name: 'time', path: 'time', component: Page },
|
||||
{ name: 'quests', path: 'quests', component: QuestsPage },
|
||||
{ name: 'seasonal', path: 'seasonal', component: SeasonalPage },
|
||||
{ name: 'time', path: 'time', component: TimeTravelersPage },
|
||||
],
|
||||
},
|
||||
{ name: 'party', path: '/party', component: GuildPage },
|
||||
|
||||
Reference in New Issue
Block a user