Closed hnla closed 7 years ago
@hnla can we merge accessories into common?
As common/_accessoires/
?
we could do with renaming it wherever it ends up being located.
Not sure of the hassle moving this dir but we can explore.
Just seems silly to have three directories that sort of do the same thing, like you pointed out here originally. 🤡
Paul Gibbs
On 26 Jul 2017, at 13:54, Hugo - hnla notifications@github.com wrote:
As common/_accessoires/ ?
we could do with renaming it wherever it ends up being located.
Not sure of the hassle moving this dir but we can explore.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Agreed, problems are ... if moved to 'common' are these really common files they tend to belong to one item however re-thinking, not that concerned really.
If it's moved lets rename it, but to what? Open to suggestions, have no views really other than 'backbone-templates', 'js-templates' something along those lines?
I don't think it matters what the folder contains. /assets
is used in bp-legacy for things like the email templates (right?), so let's move "accessoires" into `/common. ?
yep currently doing so but need confirmation on naming have renamed dir to js-templates
and moved into common
agreed? oh and dropped the leading underscore.
I don't care too much. up to you, you know what's in teh folder.
js-templates
leaves it slightly agnostic rather than backbone-templates
establishes what the folder structure is for not what type of file must be there.
Closing.
This ticket is to bullet a number of areas to discuss & sign off on that covers how we name directories and /or files and where files are located, plus tooling i.e unit tests also it can note any queries that might arise while considering the file structuring
Points to review/discuss are whether we're happy with and that these make sense ( by & large I consider that they do):
bp-nouveau/buddypress/_accessoires
bp-nouveau/buddypress/assets
_ Dirbp-nouveau/buddypress/common
Under _accessoires ( which I think we agree needs renaming) we have essentially backbone templates with associated js files in /js/