mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
New client group plan (#8948)
* Added stripe payment for group plan * Began adding amazon * Added amazon payments for group * Added get group plans route * Added group plan nav * Added initial task page * Added create and edit group plans * Added initial approval header and footer * Added assignment and approved requirement * Added minor text fixes * Added inital approval flow * Added approval modal * Removed always true * Added more styles for filters * Added search * Added env vars * Fixed router issues * Added env to social login * Fixed merge conflict
This commit is contained in:
@@ -71,6 +71,10 @@ const GuildsDiscoveryPage = () => import(/* webpackChunkName: "guilds" */ './com
|
||||
const GuildPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/guild');
|
||||
const GroupPlansAppPage = () => import(/* webpackChunkName: "guilds" */ './components/groups/groupPlan');
|
||||
|
||||
// Group Plans
|
||||
const GroupPlanIndex = () => import(/* webpackChunkName: "group-plans" */ './components/group-plans/index');
|
||||
const GroupPlanTaskInformation = () => import(/* webpackChunkName: "group-plans" */ './components/group-plans/taskInformation');
|
||||
|
||||
// Challenges
|
||||
const ChallengeIndex = () => import(/* webpackChunkName: "challenges" */ './components/challenges/index');
|
||||
const MyChallenges = () => import(/* webpackChunkName: "challenges" */ './components/challenges/myChallenges');
|
||||
@@ -122,6 +126,26 @@ const router = new VueRouter({
|
||||
},
|
||||
{ name: 'party', path: '/party', component: GuildPage },
|
||||
{ name: 'groupPlan', path: '/group-plans', component: GroupPlansAppPage },
|
||||
{
|
||||
name: 'groupPlanDetail',
|
||||
path: '/group-plans/:groupId',
|
||||
component: GroupPlanIndex,
|
||||
props: true,
|
||||
children: [
|
||||
{
|
||||
name: 'groupPlanDetailTaskInformation',
|
||||
path: '/group-plans/:groupId/task-information',
|
||||
component: GroupPlanTaskInformation,
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
name: 'groupPlanDetailInformation',
|
||||
path: '/group-plans/:groupId/information',
|
||||
component: GuildPage,
|
||||
props: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/groups',
|
||||
component: GuildIndex,
|
||||
|
||||
Reference in New Issue
Block a user