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

Add an Ionic App Version of SayLah! #11

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c536ff6
Make a whole lot of changes
ThePyProgrammer Oct 16, 2021
91d2b1c
Fix package-lock.json
ThePyProgrammer Oct 16, 2021
6a53e27
Fix some linting issues (specifically indentation)
ThePyProgrammer Oct 17, 2021
2bab8c6
Add some more comprehensive documentation
ThePyProgrammer Oct 17, 2021
50ec291
Merge branch 'bettersg:master' into master
ThePyProgrammer Oct 25, 2021
bf2622b
Add a copy button, adjust tile padding and add a buggy dark mode impl…
ThePyProgrammer Oct 27, 2021
d8cba0d
Fix a problematic Tile implemenation
ThePyProgrammer Oct 27, 2021
83ae68c
Fix a problematic dark mode implementation
ThePyProgrammer Oct 27, 2021
bcb52d5
Fix a preexisting edit dialog bug (missing quotation marks)
ThePyProgrammer Oct 27, 2021
2fb22b2
Fix step in Github actions
chaitanyabaranwal Oct 28, 2021
256defa
Merge branch 'master' of https://github.com/bettersg/saylah into bett…
ThePyProgrammer Oct 28, 2021
184b99f
Merge branch 'bettersg-master'
ThePyProgrammer Oct 28, 2021
4be301e
Add a Ionic Vue template (for a later move)
ThePyProgrammer Oct 28, 2021
4132617
Make light mode defaults (slight bug)
ThePyProgrammer Oct 28, 2021
75298bf
Fix step in Github actions
chaitanyabaranwal Oct 28, 2021
8a80f21
Merge branch 'bettersg:master' into master
ThePyProgrammer Oct 29, 2021
fd44d1e
Merge branch 'bettersg:master' into master
ThePyProgrammer Oct 30, 2021
8092789
Merge branch 'bettersg:master' into master
ThePyProgrammer Oct 31, 2021
dc01542
Actually add the Ionic Template (sorry for the bug)
ThePyProgrammer Oct 31, 2021
062b339
Merge branch 'master' of https://github.com/ThePyProgrammer/saylah
ThePyProgrammer Oct 31, 2021
03bf0d1
Handle merge conflicts
ThePyProgrammer Nov 1, 2021
8f33dc4
Merge branch 'bettersg-master'
ThePyProgrammer Nov 1, 2021
5f4f0a4
Merge pull request #2 from bettersg/master
ThePyProgrammer Nov 1, 2021
f320401
Fix other merge conflicts
ThePyProgrammer Nov 1, 2021
b230a93
Merge branch 'master' of https://github.com/ThePyProgrammer/saylah
ThePyProgrammer Nov 1, 2021
528a48d
Fix other merge conflicts
ThePyProgrammer Nov 1, 2021
416f2a0
Merge pull request #10 from ThePyProgrammer/master
ThePyProgrammer Nov 1, 2021
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
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
run: cd vueapp && npm run test:unit
build-and-preview:
needs: [lint, test]
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions ionicapp/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
> 1%
last 2 versions
not dead
not ie 11
31 changes: 31 additions & 0 deletions ionicapp/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/no-deprecated-slot-attribute': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)'
],
env: {
jest: true
}
}
]
}
31 changes: 31 additions & 0 deletions ionicapp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore

*~
*.sw[mnpcod]
.tmp
*.tmp
*.tmp.*
*.sublime-project
*.sublime-workspace
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
$RECYCLE.BIN/

*.log
log.txt
npm-debug.log*

/.idea
/.ionic
/.sass-cache
/.sourcemaps
/.versions
/.vscode
/coverage
/dist
/node_modules
/platforms
/plugins
/www
12 changes: 12 additions & 0 deletions ionicapp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# saylah-mobile
A Ionic Vue Version of Saylah!



(I am workshopping this so that we can easily move over to cross-platform development.)



## How to move from Vue to Ionic

Ionic is a cross-platform system and can deploy a Vue app to multiple devices. To go from Vue to Ionic, refer to [this link](https://ionicframework.com/blog/a-vue-from-ionic/).
5 changes: 5 additions & 0 deletions ionicapp/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
10 changes: 10 additions & 0 deletions ionicapp/capacitor.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
appId: 'io.ionic.starter',
appName: 'saylah-mobile',
webDir: 'dist',
bundledWebRuntime: false
};

export default config;
3 changes: 3 additions & 0 deletions ionicapp/cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"pluginsFile": "tests/e2e/plugins/index.js"
}
7 changes: 7 additions & 0 deletions ionicapp/ionic.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "saylah-mobile",
"integrations": {
"capacitor": {}
},
"type": "vue"
}
7 changes: 7 additions & 0 deletions ionicapp/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
transform: {
'^.+\\.vue$': 'vue-jest'
},
transformIgnorePatterns: ['/node_modules/(?!@ionic/vue|@ionic/vue-router)']
}
Loading