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

AMP REACT version #31

Merged
merged 118 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
83b6330
Update evaluation-results.component.html
AntonioEstriga Jun 5, 2023
423509b
Update evaluation-results.component.html
AntonioEstriga Jun 5, 2023
2e089f4
teste
AntonioEstriga Jul 4, 2023
0a578df
Update tests.ts
AntonioEstriga Aug 17, 2023
5a407c1
added sync
AntonioEstriga Aug 23, 2023
da1e615
acessível
AntonioEstriga Sep 7, 2023
381a407
updated de angular 15
AntonioEstriga Nov 8, 2023
94c7a7d
Include QW-ACT-R77
carlosapaduarte Feb 22, 2024
3e0bd97
Fix contrast issue on first cell of summary table
carlosapaduarte Mar 5, 2024
a9e8dd4
Fix contrast of page code color
carlosapaduarte Mar 5, 2024
67e7632
Initialize project using Create React App
eadafonso Mar 14, 2024
dc08c70
feat: adicionar os componentes do storybook no projecto
eadafonso Mar 15, 2024
7be0d66
feat: modificação do export default
eadafonso Mar 15, 2024
dd9f4d7
feat: remover a border no to-bar
eadafonso Mar 18, 2024
30887c2
Alteração de mensagem para imagens decorativas
carlosapaduarte Apr 2, 2024
6fd6a4b
Mensagem de imagem decorativa
carlosapaduarte Apr 2, 2024
873baf7
feat: criação da base do projecto
eadafonso Apr 3, 2024
2ce0b8b
feat: refactoração do código
eadafonso Apr 3, 2024
4bb0751
Correção critério decisão entre regra ACT e outro tipo de teste
carlosapaduarte Apr 15, 2024
b8b6dd2
Atualização de mensagem relacionada com teste de manipulação redundan…
carlosapaduarte Apr 15, 2024
4ad12d3
Update evaluation.service.ts
carlosapaduarte Apr 15, 2024
1fb09ec
Update evaluation.service.ts
carlosapaduarte Apr 16, 2024
831f49d
feat: criar base do projecto para darkmode e ligação com backend
eadafonso Apr 21, 2024
9146235
chore: resolvendo confilto da página de detalhes
eadafonso Apr 22, 2024
b81c296
translation added
Apr 22, 2024
4f29c6a
Merged PR 343: translation added
Apr 22, 2024
7ff17e1
feat: update with home
eadafonso Apr 23, 2024
e6799fd
i18n fixes
Apr 23, 2024
f698bcc
Merged PR 345: i18n fixes
Apr 23, 2024
d21cd44
Loading Component
Apr 23, 2024
932ddc3
Merged PR 346: Loading Component
Apr 24, 2024
e4a5f3f
feat: create base of project for deploy in dev
eadafonso Apr 24, 2024
acf82a6
feat: update dev
eadafonso Apr 24, 2024
fe6d3a6
buttons working
Apr 24, 2024
c067a1d
Merged PR 347: buttons working
Apr 24, 2024
4f53dc8
chore: update dev
eadafonso Apr 26, 2024
ea3fef9
chore: create dark mode in details pages and add footer links
eadafonso Apr 26, 2024
20c99bd
feat: update fix-details
eadafonso Apr 26, 2024
f67a4c9
download and some styles
Apr 26, 2024
867cd79
feat: add tabele col-2
eadafonso Apr 26, 2024
69ef6ef
Re-evaluate fix + download "see code page"
Apr 26, 2024
7444cf6
dark-mode styles + table image titles
Apr 26, 2024
1ac08ef
feat: update project
eadafonso Apr 29, 2024
339051a
create deploy to lbc
eadafonso Apr 29, 2024
5ede54a
fix: json local for lbc global
eadafonso Apr 29, 2024
e0db539
fix deploy lbc
eadafonso Apr 29, 2024
d907e6e
fixes
Apr 29, 2024
10c559c
Merged PR 348: fixes
Apr 29, 2024
6a0215e
fix: update
eadafonso Apr 29, 2024
90dc93a
fix voice in table
eadafonso Apr 29, 2024
2c2c70b
fix voice in table
eadafonso Apr 30, 2024
2313d96
insertFile
Apr 30, 2024
222eddf
feat: update project and add localstorage
eadafonso Apr 30, 2024
673d4c5
fixes
Apr 30, 2024
bc2ec88
feat: add resumo
eadafonso May 2, 2024
7f6ee53
Accordion center text
May 2, 2024
06304c1
change alt
eadafonso May 3, 2024
2ff5f97
fix: resolve back in results
eadafonso May 3, 2024
03f6191
fixes
May 3, 2024
4fc6191
fix: resolve back in results
eadafonso May 3, 2024
a663aea
dropdown labels
May 3, 2024
aa16116
feat: update
eadafonso May 3, 2024
0e2a6f6
final fixes + error page
May 3, 2024
43991fa
button left back
May 3, 2024
8953158
Fix URL of techniques
carlosapaduarte May 4, 2024
ec9e5a7
feat: update
eadafonso May 9, 2024
8078203
Some Route changes + lang fix
May 9, 2024
abbf30d
Add form for the input's of URL and HTML
May 9, 2024
f82bfdb
Final fixes
May 9, 2024
56d96a7
margin-left
May 9, 2024
5d57838
loading dark mode
May 9, 2024
4f81726
update dark mode buttons resume
May 9, 2024
9965a28
feat aupdate project
eadafonso May 27, 2024
9ffcb23
fix: update project with jorge bugs
eadafonso Jun 12, 2024
8674d4a
fix: add icon bradchrumb dark mode color
eadafonso Jun 12, 2024
c0e6975
fix remove trash for news svg
eadafonso Jun 12, 2024
bf4fcc5
fix routes amp-react to amp
eadafonso Jul 2, 2024
f87da31
fix routes amp-react to amp
eadafonso Jul 2, 2024
5042bea
feat: update
eadafonso Jul 8, 2024
c5fb78e
Details table
Jul 8, 2024
39d35f7
feat: update header
eadafonso Jul 8, 2024
b6fae3b
Revert "Details table"
Jul 8, 2024
8d4b6f8
Merge branch 'amp-react' of https://leadership-bc.visualstudio.com/25…
eadafonso Jul 8, 2024
cb01753
details table
Jul 8, 2024
a4c06ec
changes table, add translation entry
Jul 8, 2024
1bc8f81
small fix
Jul 8, 2024
7a4ae9d
feat: update git ignore
eadafonso Jul 9, 2024
f2b11e4
update git ignore
eadafonso Jul 9, 2024
82bf487
Use NPM Package
Jul 10, 2024
c6589fb
update lib
Jul 11, 2024
9cab6d1
Code color
Jul 11, 2024
461f43c
fix html
Jul 11, 2024
0e37732
Add link for logo of header
Jul 11, 2024
8b2f9c2
Remove storybook
Jul 11, 2024
73c2be1
feat: update lib
eadafonso Jul 15, 2024
8e6a8bb
Update pagecode and detials page to use endpoint
Jul 16, 2024
0595f52
Merge branch 'using_npm_package' of https://leadership-bc.visualstudi…
eadafonso Jul 17, 2024
5267bd7
add background
Jul 17, 2024
c36f0a7
Merge branch 'using_npm_package' of https://leadership-bc.visualstudi…
eadafonso Jul 17, 2024
8a1190c
feat: update lib
eadafonso Jul 17, 2024
d8d9e1b
Fix services details
Jul 17, 2024
0c459b4
Merge branch 'using_npm_package' of https://leadership-bc.visualstudi…
eadafonso Jul 17, 2024
fd92ed1
Merge branch 'amp-react' into develop
carlosapaduarte Jul 17, 2024
957cfc0
Update environment variables
carlosapaduarte Jul 18, 2024
4f5b105
Update version number
carlosapaduarte Jul 18, 2024
d293b49
Merge pull request #26 from amagovpt/develop
carlosapaduarte Jul 18, 2024
34e3b92
Remove conflicting file for build
carlosapaduarte Jul 18, 2024
934ea7a
Merge pull request #27 from amagovpt/develop
carlosapaduarte Jul 18, 2024
d0d588f
Remove leftovers from angular version
carlosapaduarte Jul 18, 2024
3dbdaeb
Merge pull request #28 from amagovpt/develop
carlosapaduarte Jul 18, 2024
584123d
Details getDetails on only 1 method
Jul 18, 2024
23c6522
Update dynamic routes
Jul 19, 2024
1bb00f6
Merge branch 'using_npm_package' of https://leadership-bc.visualstudi…
eadafonso Jul 19, 2024
7733706
Merge branch 'develop' into amp-react
carlosapaduarte Jul 19, 2024
a28a11c
Merge pull request #29 from amagovpt/amp-react
carlosapaduarte Jul 19, 2024
0d48501
Update env variables
carlosapaduarte Jul 19, 2024
a722717
Merge pull request #30 from amagovpt/develop
carlosapaduarte Jul 19, 2024
23e22a3
Configure for PPR deploy
carlosapaduarte Jul 19, 2024
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
12 changes: 0 additions & 12 deletions .browserslistrc

This file was deleted.

7 changes: 7 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
REACT_APP_AMP_DEV_SERVER=http://10.55.37.16:/api/amp
REACT_APP_AMP_PPR_SERVER=https://preprodaccessmonitor.acessibilidade.gov.pt/api/amp
REACT_APP_AMP_PRD_SERVER=https://accessmonitor.acessibilidade.gov.pt/api/amp

REACT_APP_DEV_SERVER_URL="/amp/"
REACT_APP_PPR_SERVER_URL="/"
REACT_APP_PRD_SERVER_URL="/"
2 changes: 2 additions & 0 deletions .env-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_AMP_DEV_SERVER=
REACT_APP_AMP_PROD_SERVER=
22 changes: 22 additions & 0 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: sync

on:
- push
- delete

jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wangchucheng/[email protected]
with:
# Such as https://github.com/wangchucheng/git-repo-sync.git
target-url: https://appcontrol.ama.lan/acessibilidade/accessmonitor/accessmonitor
# Such as wangchucheng
target-username: antonio.estriga
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }}
target-token: ${{ secrets.ACCESS_TOKEN }}
58 changes: 17 additions & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,50 +1,26 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# profiling files
chrome-profiler-events*.json
speed-measure-plugin*.json

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# testing
/coverage

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*
# production
/build

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

# System Files
.DS_Store
Thumbs.db
.env.local

.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

debug.log
/documentation
package-lock.json
.env
71 changes: 57 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,70 @@
# AccessMonitorPlus
# Getting Started with Create React App

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.4.
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Development server
## Available Scripts

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
In the project directory, you can run:

## Code scaffolding
### `npm start`

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`.
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

## Build
The page will reload when you make changes.\
You may also see any lint errors in the console.

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
### `npm test`

## Running unit tests
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

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

## Running end-to-end tests
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

## Further help
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
138 changes: 0 additions & 138 deletions angular.json

This file was deleted.

Loading
Loading