Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Frontend Web Angular #10

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
144277b
Created Initial Angular Project
MTSchoeman Jul 17, 2023
c18b09b
Added Models
MTSchoeman Jul 17, 2023
b9c3e39
Implemented state management. NGRX
MTSchoeman Jul 17, 2023
2d0a879
moved component to new folder
MTSchoeman Jul 17, 2023
53782ee
Added more statemanagement
MTSchoeman Jul 17, 2023
9bfb8ff
Implemented selecting a state
MTSchoeman Jul 17, 2023
901f340
display all the data for house
MTSchoeman Jul 18, 2023
5085796
Display the characters
MTSchoeman Jul 18, 2023
d58b5b3
removed commented code
MTSchoeman Jul 18, 2023
a56375b
removed unused import
MTSchoeman Jul 18, 2023
a9d2eee
IMplemented pagnation
MTSchoeman Jul 18, 2023
63a72c6
layout the house-details page
MTSchoeman Jul 18, 2023
6eec2b3
Added Characters component to display characterts with pagnation
MTSchoeman Jul 18, 2023
733084e
styling changes
MTSchoeman Jul 19, 2023
75baf48
made book-base component
MTSchoeman Jul 19, 2023
86fda25
Removed Comments, console logs
MTSchoeman Jul 19, 2023
20b827d
REmoved commented code in App Component
MTSchoeman Jul 19, 2023
6995aac
removed comments
MTSchoeman Jul 19, 2023
942c424
Added fetch for Books
MTSchoeman Jul 19, 2023
a503ce6
Display the character's books and allegiances
MTSchoeman Jul 19, 2023
707d52b
added Book Page
MTSchoeman Jul 19, 2023
7518955
Display the book details
MTSchoeman Jul 19, 2023
fc5c411
Changed some styling and added dynamic last page check
MTSchoeman Jul 20, 2023
3222e19
Added styling for each page and added background
MTSchoeman Jul 20, 2023
45eb7fc
removed comments/ghost code
MTSchoeman Jul 20, 2023
41bf77b
removed commented code
MTSchoeman Jul 20, 2023
58e2f1f
removed empty for attributes
MTSchoeman Jul 20, 2023
5a0963a
Moved how lsat page is fetched to PageService
MTSchoeman Jul 20, 2023
ed6ed3b
Merge branch 'feature/frontend/Web/Angular-MatthewSchoeman' into Styl…
MTSchoeman Jul 20, 2023
05d90d0
merged feature
MTSchoeman Jul 20, 2023
dd381d3
Moved Page number to bottom of screen
MTSchoeman Jul 20, 2023
1c541a8
Did house details
MTSchoeman Jul 20, 2023
49cc30b
Styled character details
MTSchoeman Jul 20, 2023
12969a0
styled the book details page
MTSchoeman Jul 20, 2023
a6400ee
Fixing responsiveness
MTSchoeman Jul 20, 2023
7269fe6
added newlines to all labels
MTSchoeman Jul 20, 2023
6674865
Moved the fetch button to the bottom
MTSchoeman Jul 20, 2023
2ef23e7
Cleaned up
MTSchoeman Jul 20, 2023
449ca10
added spacing to root pages
MTSchoeman Jul 20, 2023
1b0575f
Moved pagination to it's own component
MTSchoeman Jul 21, 2023
61fe857
removed comment
MTSchoeman Jul 21, 2023
51e39af
Merge branch 'PaginationComponent' into Dev
MTSchoeman Jul 21, 2023
14d4d3e
Attended to PR comments
MTSchoeman Jul 21, 2023
5626f5e
added media queries for spacing
MTSchoeman Jul 21, 2023
82c79e2
removed ghost code
MTSchoeman Jul 21, 2023
7c7e168
Fixed the pagination
MTSchoeman Jul 31, 2023
3e723f5
Added gitgnore
MTSchoeman Jul 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Web/Angular/GOT/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
194 changes: 194 additions & 0 deletions Web/Angular/GOT/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
# Created by https://www.toptal.com/developers/gitignore/api/angular,node,visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=angular,node,visualstudiocode

### Angular ###
## Angular ##
# compiled output
dist/
tmp/
app/**/*.js
app/**/*.js.map

# dependencies
node_modules/
bower_components/

# IDEs and editors
.idea/

# misc
.sass-cache/
connect.lock/
coverage/
libpeerconnection.log/
npm-debug.log
testem.log
typings/
.angular/

# e2e
e2e/*.js
e2e/*.map

# System Files
.DS_Store/

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

### Node Patch ###
# Serverless Webpack directories
.webpack/

# Optional stylelint cache

# SvelteKit build / generate output
.svelte-kit

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

# End of https://www.toptal.com/developers/gitignore/api/angular,node,visualstudiocode
4 changes: 4 additions & 0 deletions Web/Angular/GOT/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"]
}
20 changes: 20 additions & 0 deletions Web/Angular/GOT/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ng serve",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
}
]
}
42 changes: 42 additions & 0 deletions Web/Angular/GOT/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "start",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
},
{
"type": "npm",
"script": "test",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
}
]
}
27 changes: 27 additions & 0 deletions Web/Angular/GOT/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# GOT

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.4.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
Loading