dimigo-din / dimigoin-front Goto Github PK
View Code? Open in Web Editor NEWOfficial Korea Digital Media Highschool Intranet Service, DIMIGOIN
Home Page: https://dimigo.in
License: MIT License
Official Korea Digital Media Highschool Intranet Service, DIMIGOIN
Home Page: https://dimigo.in
License: MIT License
๐จ You need to enable Continuous Integration on Greenkeeper branches of this repository. ๐จ
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didnโt receive a CI status on the greenkeeper/initial
branch, itโs possible that you donโt have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how itโs configured. Make sure it is set to run on all new branches. If you donโt want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, youโll need to re-trigger Greenkeeperโs initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
AJAX๋ก ํ์ผ ๋ค์ด๋ก๋๋ฅผ ํ๊ฒ๋๋ฉด ์ฌ์ฉ์๊ฐ ์์ฒญํ ๋ค์ ์๋ฌด๋ฐ ๋ฐ์์ด ์๊ณ ๊ทธ์ ํ์ผ์์ด ๊ธฐ๋ค๋ ค์ผ๋ง ํ๊ธฐ ๋๋ฌธ์ ์ ์ ํ UI ํผ๋๋ฐฑ์ด ํ์ํฉ๋๋ค (ํด๋น ๋ฒํผ์ ๋ค์ด๋ก๋ ํผ์ผํธ๋ฅผ ๋ณด์ฌ์ฃผ๋ ๋ฑ)
์ถ๊ฐ๋ฐ๋
ํ์ฌ ๊ฐ์ฅ ๊ณ ์ณ์ผ ํ ์ ์ด ๋ง์ ์ธ๊ฐ์ค ์ ์ฒญ ํ์ด์ง์
๋๋ค.
๊ธฐ์กด Javascript array ๋ก ๋ณด๋ด์ฃผ๋ ์ธ๊ฐ response ๋ฅผ json ์ผ๋ก ๋ณ๊ฒฝํ์์ต๋๋ค.
There are two uncategorized rules in eslint-plugin-vue, vue/component-name-in-template-casing and vue/script-indent. However, the former is strongly recommended by Vue Official Style Guide, and the latter can also help code convention more strictness. For these reasons, we'd better enable those rules.
Sentry Issue: DIMIGOIN-FRONT-39
Use Array.prototype.reduce
instead of flatMap
TypeError: t.sent.flatMap is not a function
at P (./app/src/api/permission/index.js:7:63)
at a (./app/src/api/permission/index.js:7:63)
...
(1 additional frame(s) were not displayed)
ํ์ฌ๊น์ง ๋ฐ๊ฒฌ๋ IE11์์์ ์คํ์ผ ์ด์๋ ๋ฉ์ธํ๋ฉด์์ ์๋น์ค๋ค์ ๊ทธ๋ฆฌ๋ ๋ ์ด์์์ด ์ ์ผํฉ๋๋ค.
Since we publish more and more packages, managing internal packages will become annoying. Monorepo solution might be helpful in the future.
Related to #6
Sentry Issue: DIMIGOIN-FRONT-1M
Caused by API changes.
TypeError: Cannot read property 'idx' of undefined
at Notice (./app/src/struct/book.js:14:14)
at call (./app/src/api/book.js:125:10)
at a (./app/src/struct/book.js:16:15)
at u (./app/src/struct/book.js:16:15)
at nrWrapper (/static/js/jennifer.js:1:16970)
...
(3 additional frame(s) were not displayed)
๋ก๋ฉ์ค์๋ ๋ก๋ฉ ์ ๋๋ฉ์ด์ ๋์ Placeholder Component๋ฅผ ๋ฐ๋ก ๋ง๋ค์ด์ ์ฐ์
## ๋์๋ฆฌ ์ ์ฒญ API ๋ณ๊ฒฝ
๊ธฐ์กด API ์๋ ๋ชจ๋ ๋์๋ฆฌ์ apply_start_date ์ apply_end_date ๊ฐ ํฌํจ๋์ด ์ด๋ฅผ ํตํด ์ ์ฒญ ์์ ๋ฐ ๋ง๊ฐ ๊ธฐ๊ฐ์ ์ ํ ์ ์์์ง๋ง, ๊ตณ์ด ๊ทธ๋ด ํ์๊ฐ ์์ ๊ฑฐ ๊ฐ์ ํด๋น key ๋ฅผ [GET] /config/circle/request_start(end)_date
๋ก ๋ถ๋ฌ์ฌ ์ ์๊ฒ ๋ณ๊ฒฝํ์์ต๋๋ค.
### [GET] /circles/
{
"circles": [
{ // apply_start_date ์ apply_end_date ๊ฐ ์ญ์ ๋จ
"idx": 0,
"name": "string",
"description": "string",
"category": "string",
"profile_img": "string",
"chair_idx": "string",
"chair_serial": "string",
"chair_name": "string",
"status": "string"
}
]
}
### [GET] /config/circle/request_start(end)_date
{
"idx": 1,
"service": "circle",
"key": "request_start(end)_date",
"value": "2019-01-14 10:09:00"
}
```~~
ํ์ฌ ๋๋ฏธ๊ณ ์ธ ๋์๋ฆฌ ์ ์ฒญ ๋ง์ง๋ง ๊ณผ์ ์ค ์ ์ฒญ์์๊ฒ ์ต์ข ๋ฒํผ์ ์์น๊ฐ ์ ์ฒญ / ์ทจ์ ๋ฒํผ์ด ์๋ ๋ชจ๋ฌ ์ฐฝ์ด ์๋ circle ์นด๋ ์ฐฝ์๋ง ๋์์์ต๋๋ค.
#54 ๋ฅผ ์ฐธ๊ณ ํด์ ๊ตฌํํด์ผ ํฉ๋๋ค.
๐จ You need to enable Continuous Integration on Greenkeeper branches of this repository. ๐จ
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didnโt receive a CI status on the greenkeeper/initial
branch, itโs possible that you donโt have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how itโs configured. Make sure it is set to run on all new branches. If you donโt want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, youโll need to re-trigger Greenkeeperโs initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
์ํ๊ธฐ๋ฅผ ๋ง์ดํ์ฌ ๊ณต์ง ๋ด์ฉ ๋ณ๊ฒฝ์ด ํ์ํ๋ค๊ณ ์๊ฐ๋ฉ๋๋ค.
ํ์ฌ ๋๋ฏธ๊ณ ์ธ ๋์๋ฆฌ ์ ์ฒญ ํ์ด์ง๋ old ํ api ๊ธฐ์ค์ผ๋ก ์์ฑ๋์ด์์ต๋๋ค.
๊ธฐ์กด circle json response ์์ apply_start_date ์ apply_end_date ๊ฐ ๋ชจ๋ ์ญ์ ๋์์ผ๋ฉฐ, ์ด๋ ๋ชจ๋ config API ๋ฅผ ํตํด ๋์๋ฆฌ ์ ์ฒญ ๋ฐ ๋ง๊ฐ ๊ธฐ๊ฐ์ ๋ถ๋ฌ์ค๋๋ก ํ์์ต๋๋ค.
ํ์ฌ ๋๋ฏธ๊ณ ์ธ ๋์๋ฆฌ ์ ์ฒญ ๋ง์ง๋ง ๊ณผ์ ์ค ์ ์ฒญ์์๊ฒ ์ต์ข ๋ฒํผ์ ์์น๊ฐ ์ ์ฒญ / ์ทจ์ ๋ฒํผ์ด ์๋ ๋ค์ด์ผ๋ก๊ทธ ์ฐฝ์ด ์๋ circle ์นด๋ ์ฐฝ์๋ง ๋์์์ต๋๋ค.
๊ฐ์์๊ฐ ์ฌ๋ผ์ ธ์ ๊ธ์ ๋ชฉ๋ก์ ๊ฐ์์ด ํ์์์ด์ง.
์ฑ๋ด์ ํตํ ์๋น์ค ์ด์ฉ ๊ฐ๋ฅ
Should provide hours, minutes and even seconds information of deadline.
๊ธฐ์กด API ์์๋ request_start_date ์ request_end_date ๋ ๋ค Datetime ์ ๋ง์ถ์ด API ๋ฅผ ์๋์์ผฐ๋ค๋ฉด, ์ง๊ธ์ Unix Timestamp ๋ฅผ ์ด์ฉํ์ฌ ์๊ฐ์ ์ ์ ํํ๋ก ํํํ๊ณ ์์ต๋๋ค. ๋ฐ๋ผ์ ๋ค์ API ์ ์๋ request_start_date ์ request_end_date ๋์ value ๋ฅผ integer ํ์์ unix timestamp ๋ก ๋ณ๊ฒฝํ์ฌ ๊ธฐ๋ฅ์ ์ ์ฉํด์ฃผ์๊ธธ ๋ฐ๋๋๋ค.
request_start_date ์ request_end_date ๋ ๋ฐฉ๊ณผํ ์ ์ฒญ ์์ ์๊ฐ, ๋ง๊ฐ ์๊ฐ์ ์๋ฏธํฉ๋๋ค.
[GET] /afterschools/student/
๋ก ๋ฐ์์ฌ๋ ํน์ ์์ผ์ ๋ฐฉ๊ณผํ status ๊ฐ request ๋ก ๋๊ฒ 2๊ฐ์ผ ๊ฒฝ์ฐ ๋ง์์ฃผ์๋ฉด ๋ฉ๋๋ค.๋ ์จ ์ ๋ณด๋ฅผ ํตํด ์ ์ ๋
1๋
๋์ ์ผ์ธ์ ํธํ ๋ ์ ๋ฐ์ดํฐ์
์ด ์์ผ๋ฉด ๋ ์ ํํ๊ฒ ๊ตฌํ ์ ์์ ๊ฒ ๊ฐ๊ธฐ๋ ํ๊ณ
ํ์ฌ management์๋ ๋์๋ฆฌ ์ ์ฒญ ๊ด๋ฆฌ, Dets ๊ด๋ฆฌ, ๋์ ์ ์ฒญ ๊ด๋ฆฌ๊ฐ ์๊ณ
teacher์๋ ์ธ๊ฐ, ์๋ด, ๋ฐฉ๊ณผํ ์ ์ฒญ์ด ์๋๋ฐ ๋์ ์ด๋ค ๊ธฐ์ค์ ๊ฐ์ง๊ณ ๋๋๊ฑด์ง ์ ์ ์์
Refactor unmaintainable form related components and form validation.
Sentry Issue: DIMIGOIN-FRONT-1C
It occurs in the ManageDets page
TypeError: Cannot read property 'dets' of undefined
at call (./app/src/api/dets.js:12:19)
at a (./app/src/struct/dets.js:31:9)
at u (./app/src/struct/dets.js:31:9)
at None (./app/src/struct/dets.js:31:9)
at nrWrapper (/static/js/jennifer.js:1:16970)
...
(45 additional frame(s) were not displayed)
ํ์ฌ๋ ํด๋น ๋ก์ง์ด ๊ตฌํ๋์ด ์์ง ์๊ธฐ ๋๋ฌธ์, ์๋ชป๋ ํ ํฐ์ ๊ฐ์ง๊ณ ์์ด๋ ์๋ ๋ก๊ทธ์์์ด ๋์ง ์์ต๋๋ค.
ํ์ฌ dimiru ํด๋์ ์กด์ฌํ๋ ๊ธฐ๋ณธ ์ปดํฌ๋ํธ๋ค์ ๋ณ๋์ npm ํจํค์ง๋ก ๊ด๋ฆฌํด์ผํฉ๋๋ค.
push ๊ถํ์ ๊ฐ์ง ์ฌ๋๋ค์ด ๋๋ฏธ๊ณ ์ฑ์ ํธ์ ๋ฉ์์ง๋ฅผ ๋ณด๋ผ ์ ์๋ ํ์ด์ง๊ฐ ํ์ํจ.
์ ์๋ ๊ด๋ฆฌ ํ์ด์ง์ ๋ ๊ณํ์.
json (์๋ ๋ด์ฉ ์ฐธ์กฐ) ํํ๋ก ๋ณด๋ผ ์ ์์ด์ผํจ.
{
"sender": ํธ์์๋ฆผ ๋ณด๋ธ ์ด
"timestamp": ์๊ฐ
"title": ์๋ฆผ ์ ๋ชฉ
"description": ์๋ฆผ ๋ด์ฉ
}
ํธ์๋ฅผ ๋ฐ๋ ์ด๋ค๊ณผ ํธ์๋ฅผ ๋ณด๋ด๋ ๊ฒ์ ๋ชจ๋ ๋ฐฑ์๋ API /push/ ์์ ์ฒ๋ฆฌํ ๊ณํ
Sentry Issue: DIMIGOIN-FRONT-28
Caused by API changes.
TypeError: Cannot read property 'target_grade' of undefined
at call (./app/src/api/ingang.js:139:29)
at u (./app/assets/brand.svg:24:2903)
at s (./app/assets/brand.svg:24:2903)
at nrWrapper (/static/js/jennifer.js:1:16970)
...
(2 additional frame(s) were not displayed)
Maybe bright version of brand color will be appropriate.
#69 ์ ๋์ผํ๊ฒ end_date ๋ผ๋ ๊ณผ์ ๋ง๊ฐ์ผ์ด Datetime ์์ Unix Timestamp ๋ก ๋ฐ๋์์ต๋๋ค.
{
"name": "string", // ๋์๋ฆฌ ๋ช
"description": "string", // ๋์๋ฆฌ ์ค๋ช
"category": "string" // ์นดํ
๊ณ ๋ฆฌ
}
๋ก ๊ฐ์ค์ ๋จผ์ ํ ํ
๋ก ํ์ผ ์ ๋ก๋ ํด ์ฃผ์๋ฉด ๋ฉ๋๋ค
๋ง์ผ, ๋ก๊ณ ์ด๋ฏธ์ง๋ฅผ ์ฌ ๋ฑ๋ก ํ์ค ๊ฒฝ์ฐ๋ [PUT] ๋ฉ์๋๋ก ํด ์ฃผ์ธ์
์ฐธ๊ณ ๋ก ๋์๋ฆฌ ์ด๋ฏธ์ง ๋ก๋ API ๋ [GET] /circles/images/{idx} ์ ๋๋ค.
์์ ํ์ผ์ ๋ค์ด๋ก๋ ํ๊ธฐ ์ํด ์์ ํ์ผ ๋ค์ด๋ก๋๋ฅผ ๋๋ฅผ ์ permission ์ ํ์ธํ๊ธฐ ์ํด JWT Token ์ด Header ์ ํฌํจ๋์ด์ผ ํฉ๋๋ค. ํ์ฌ ๋ค์ด๋ก๋ ์ ๋ฐ์ํ๋ response ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
{
message: "Missing Authorization Header"
}
๋ฐ๋์ #84 ๋ฅผ ์ฐธ๊ณ ํด์ ์ ์ฉํด์ผ ํฉ๋๋ค. ์ฐ์ ์ ์ผ๋ก ๋ณธ ์ด์๋ฅผ #84 ์ ์๊ตฌ์ฌํญ์ ์ ์ฉํ์ฌ ํด๊ฒฐํ๊ณ , ์ด๋ฏธ ์กด์ฌํ๋ ๋ค๋ฅธ ๋ค์ด๋ก๋ ๋ฒํผ์ ๋ณ๊ฐ์ PR๋ก ์์ ํ์ธ์.
๐จ You need to enable Continuous Integration on Greenkeeper branches of this repository. ๐จ
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didnโt receive a CI status on the greenkeeper/initial
branch, itโs possible that you donโt have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how itโs configured. Make sure it is set to run on all new branches. If you donโt want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, youโll need to re-trigger Greenkeeperโs initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.