-
- In the SearchResults.vue component: src/components/workspace/SearchResults.vue, I
- Pull data from two data files, src/data/modules.js and src/data/templates.js and render them in the v-data-table:
- Take the data from the uinames API, put it in the local store, and then render them in the v-data-table.
- workspace>admin>users These individual items may be clicked and edited.
-
- The main component is App.vue, found in /src/App.vue
- The non-dynamic route view components are found in /src/views
- The rest of the components are found in /src/components
-
- My Github Profile and Github project page should show my commit history.
-
-
- /src/views/Workspace.vue --> /src/components/workspace/menus/Sidebar.vue
- /src/views/Workspace.vue --> /src/components/workspace/menus/WorkspaceMenu.vue
- /src/components/workspace/ModuleEditor.vue --> /src/components/workspace/editor/EditorDirectives.vue
- I also pass params via vue-router from /src/views/Help.vue to /src/components/HelpConfirmation.vue
-
These menus use events to trigger navigation or changes in class:
- /src/components/workspace/menus/Sidebar.vue
- /src/components/workspace/menus/WorkspaceMenu.vue
The SearchResults component uses events to trigger a change in route; passing information along the way
- /src/components/workspace/SearchResults.vue
-
Current store file is located at /src/store.js.
- Note: The folder "store" is a work in progress; I am splitting the store into individual files and have not implemented it yet. The active store file is still at /src/store.js. I use the local store throughout the application; most notably for
-
State of the active user; right now only the "loggedIn" property is used and changed when the "Logout" button is clicked or when the user logs back in. The username and password properties also update when the user logs in and the username can be seen above the "login" button in the left slideout menu. Source for that logic is in /src/components/shared/Header.vue and in /src/views/Login.vue.
-
Modal windows, which are triggered
- When a user attempts to logout
- When a user clicks "save" or "cancel" in the editor views
- When a user attempts to navigate away from an editor view without saving Note:I broke this somehow but the code is still there
Source for the modal windows is located in
- src/components/shared/Modal.vue
- src/components/shared/Header.vue
- the editor components located in /src/components/workspace
- /src/mixins/editorModal.js
-
-
- Login Page, source located at /src/views/Login.vue
- This will only display if the user's login state is false, right now the default is set to "true" so you don't have to login every time. You must "logout" if you can't see the form.
- Help Page, source located at /src/views/Help.vue
-
- There is a global directive called "emphasized" declared in /src/main.js
- This directive is used in the Workspace View Port to change the color and various other styles of the "results" text.
- source located at /src/main.js and /src/components/workspace/WorkspaceViewPort.vue
-
- I use animations any time the main route is changed. Source is in /src/App.vue
- There are also animations on transitions that happen in the Workspace view, source is at /src/views/Workspace.vue
-
global filter folder: /src/filters
- Note: I am currently working on a filter for the search function; as of yet searchFilter.js is unused.
- The "Help Confirmation" page uses a filter to capitalize the first letter of a person's first and last names. First you need to fill out and submit the form on the Help Page . Source is at src/components/HelpConfirmation.vue.
-
global mixin folder: /src/mixins
- /src/components/workspace/UserEditor.vue :
- editorLoadInfo.js
- editorModal.js
- /src/components/workspace/ModuleEditor.vue :
- cmsDirectives.js
- /src/components/workspace/UserEditor.vue :
-
- I request 25 items from the uinames api, and populate a v-data-table located in the SearchResults.vue component
- Source is at src/components/workspace/SearchResults.vue
- Netlify Link: workspace>admin>users
- Those results are then stored in the local store: /src/store.js.
-
- Main router file is in /src/router.js
- Main route components are found in /src/views
- Links to routes are:
-
- I am in the process of converting my store into individual files; so the folder at /src/store/ doesn't do anything yet - the functional store is still located at /src/store.js
- I use global state management for:
- Keeping track of the current user's status (login/logout)
- The state of the modal windows (display/don't display, get messages from calling component)
- The API data downloaded from uinames.com
- Apart from the main store file, the logic for state management is spread through much of the application.
-
- I'd appreciate any feedback you have after you review this part.
-
Notifications
You must be signed in to change notification settings - Fork 0
iingles/isaac-ingles-3790-final
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published