FederationOfTech / Coalesce

An open source volunteer management platform from the Federation of Humanitarian Technologists
GNU Affero General Public License v3.0
13 stars 13 forks source link

Create organiser account page #56

Closed charliearlie closed 3 years ago

charliearlie commented 3 years ago

Still a work in progress but almost there

stefanha commented 3 years ago

Nice work! I'll wait to chat more about it on Thursday. Maybe we can hook up the REST API.

stefanha commented 3 years ago

The following errors are reported by docker-compose build && docker-compose up:

frontend_1       |  error  in ./src/components/create-organiser/create-organiser-form.vue
frontend_1       | 
frontend_1       | Module Error (from ./node_modules/eslint-loader/dist/cjs.js):
frontend_1       | 
frontend_1       | /app/src/components/create-organiser/create-organiser-form.vue
frontend_1       |   78:1   error  Expected indentation of 6 spaces but found 8  indent
frontend_1       |   78:25  error  Extra semicolon                               semi
frontend_1       |   79:1   error  Expected indentation of 6 spaces but found 8  indent
frontend_1       |   79:33  error  Extra semicolon                               semi
frontend_1       |   91:1   error  Expected indentation of 6 spaces but found 8  indent
frontend_1       | 
frontend_1       | ✖ 5 problems (5 errors, 0 warnings)
charliearlie commented 3 years ago

I think my IDE formatter is conflicting with the lint rules. Will fix now

stefanha commented 3 years ago

The Firefox Web Developer panel shows the following messages:

[Vue warn]: Unknown custom element: <NuxtLink> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <CreateOrganiser> at src/pages/CreateOrganiser.vue
       <QPageContainer>
         <QLayout>
           <MainLayout> at src/layouts/MainLayout.vue
             <App> at src/App.vue
               <Root>

and

[Vue warn]: Property or method "form" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

found in

---> <CreateOrganiserForm> at src/components/create-organiser/create-organiser-form.vue
       <QPage>
         <CreateOrganiser> at src/pages/CreateOrganiser.vue
           <QPageContainer>
             <QLayout>
               <MainLayout> at src/layouts/MainLayout.vue
                 <App> at src/App.vue
                   <Root>

I noticed that the "What form of organisation do you represent?" radio buttons don't work yet. I cannot enable any of them.