-
Notifications
You must be signed in to change notification settings - Fork 186
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
Theme konnectd #698
Theme konnectd #698
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
There are some parts of the frontend which are probably not required but were causing a lot of errors when removed. I'd like to go in a separate PR through them when there'd more time and do some followup cleanup. |
7e553e6
to
a530c97
Compare
@micbar Have you got some idea why this line is not respected by codacy https://github.com/owncloud/ocis/pull/698/files#diff-3404650b2859b064f8b0527d200936d6b306cf8e11437f0051b38af5aeaab1c2R4 and the error in webpack config is still showing up? |
@LukasHirt this file is no longer used. Use the top level one and adapt the paths |
same for the |
@LukasHirt please rebase to current master. A |
12580bb
to
e4c5ee8
Compare
Done 😉 |
Still getting the error even though I moved it in there 😞 |
07f8184
to
717eb87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed some things:
- file
konnectd/ui/src/images/owncloud-logo.svg
is part of this PR and should be removed or some placeholder image, right? - There are some files from the original kopano theme (augmenting teamwork, etc) which could be removed
- The font size of the input fields is too small. It should be 1rem, but is 0.8...rem. With the current size it looks weird coming from the login form with tiny font size to ownCloud Web with quite big font size.
Right, thanks!
I removed leftover images for now but regarding other files is this comment:
Per request from the marketing team, I have adjusted this according to the ownCloud website form inputs where it is the same font size. |
Hm... I don't agree. 😅 Styling the login page should be consistent with phoenix, not the website. 👀 We're going back and forth between phoenix and the login page, the website is never part of this process. If styles of the input elements should be adjusted in general, that's a different story. But breaking style consistency within a user workflow is a no go IMO. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all, huge PR 👏 I took a look mostly at the react components, leaving build stuff out, and just a matter of consistency and a suggestion for using TypeScript 🤓 . Haven't tried the PR locally, intending to do so later today.
@@ -0,0 +1,93 @@ | |||
import React from 'react'; | |||
import PropTypes from 'prop-types'; | |||
import { connect } from 'react-redux'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haven't worked with Vuex, only with redux, but wouldn't it be better to use vuex + react instead of adding another store? Curious :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would create extra dependency on Vue, wouldn't it? At least when looking at https://www.npmjs.com/package/react-vuex that's the feeling I am getting
} | ||
} | ||
|
||
Goodbyescreen.propTypes = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd very much love that! Not sure if I can introduce in one PR not only react but TS as well though 🙈 Maybe that'd be too much?
074a268
to
46ea80c
Compare
68fcd54
to
e7979ba
Compare
Add new line at the end of file Shorten hex Add zero
e7979ba
to
175b90b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
love it! |
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Bring konnectd frontend, create ownCloud theme and generate assets.
Open tasks: