-
Notifications
You must be signed in to change notification settings - Fork 52
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
Mantra Discuss app #57
Comments
It is so exciting to hear @mquandalle said Wekan will be following Mantra. Looking forward to this. |
@mquandalle I agree it's early stage for Wekan. As @vonwao mentioned this will be something like Telescope. It's hard to compete with us Discourse, but I guess we could do something and it'll be a fun experience. |
+1 @mquandalle it would be awesome to see Wekan follow Mantra. Looking forward to it. |
I have set up a repository, and started adding some files (added scss styles from discourse, but couldn't figure out some scss compiler errors, so far) Also added an issue to discuss most important features. You can join the conversation: |
@vonwao Awesome. |
@arunoda not sure if you are interested but I am maintaining the Meteor Webpack version of Mantra at https://github.com/tomitrescak/Meteor-Boilerplate-Webpack-Mantra-Typescript It also contains the Typescript version of Mantra along with all typings (fully at 0.2.0). I have asked Exon (creator of the Meteor Webpack) to include mantra in his kickstarter projects, but up until he does so (hopefully he decides positively), this is the only source to get started with Mantra, Meteor Webpack and/or Typescript. |
Yes @arunoda. I tried to transfer repo to mantrajs but it says I don't have admin rights. What's the correct procedure to transfer, also so I retain rights to commit to repo? |
@tomitrescak I don't think webpack and typescript are relevant to to this issue, but since you replied here, I have a comment. Webpack is very useful for the "hot module reload" ability. Typescript looks nice too, static type checking would be nice, but I don't think I would use it now. For example, below, I don't know if there's a way in TypeScript to annotate (or cast) the type of {post} as IPosts. If there is a way, it would very nice because Webstorm (maybe atom too) would provide autocomplete.
There are other examples in mantra, using destructuring, where adding types doesn't seem very practical. It's a nice idea otherwise. |
Hot code reload is one of the main reasons I am using webpack, apart from the native support of modules. Concerning typescript, of course it is possible. Check out the comment_list component below, which is part of the boilerplate: import React from 'react';
import CreateComment from '../containers/create_comment';
import { IComments } from "../../../../common/collections";
interface IProps {
comments?: IComments[];
postId: string;
}
const CommentList = ({comments, postId}: IProps) => (
<div className="comments">
<div>
<CreateComment postId={postId}/>
</div>
<div className="comment-list">
{comments.length === 0 ? <p>No Comments Yet!</p> : null}
{comments.map((comment: IComments) => (
<div key={comment._id} className="comment">
<b>{comment.author}:</b> {comment.text}
{comment.saving ? '...' : null}
</div>
))}
</div>
</div>
);
export default CommentList; |
@vonwao I added you to mantrajs org. I hope now we can transfer the app. |
Let's create an an open source app we can actually use, with mantra. This would be better than using Discourse: we discuss, learn, and do QA testing all at the same time.
My idea is not so much a reference app, but an app we can use for experimentation. And importantly something that we keep in a working state.
I'd be willing to set it up on modulus and host it out of my pocket at least for a few months.
The text was updated successfully, but these errors were encountered: