Closed phc369 closed 7 years ago
Honestly, this should be broken up into several separate PRs...One for each item in your list. It's too much change in 1 PR.
Oki. I'll see how I'll do to separate them, since most things are interrelated. have you tried it? Where do you prefer to start? Which item first? Regards Pablo
There can be a PR for the new look, a PR for the new undo/redo/copy/paste JS changes, a PR for new BBCodes, a PR for the changes to BBVideo.
No I haven't tried it because the tests fail, which means it won't work.
Ok... I think there is. Only the first stage regarding the new look.
What do you mean with the testings fail? Sorry, I did not handle very well with Github (for now)
I think the changes to the new Look are very large, it may be why not pass the test?
It could be that there is some error in the files that perform the testing?
I'm asking because I just left as the original the English language file abbc3/language/en/abbc3.php
and not pass the test.
There are several problems.
#abbc3_buttons
so when you changed that you needed to make sure you replaced #abbc3_buttons
everywhere it appears, including in the tests.not in
set test http://twig.sensiolabs.org/doc/templates.html#containment-operatorSome other problems just in general are that this removes many of the core features of ABBC3 including the ability to sort BBCodes in a custom order, and to easily swap out the icons with new ones or add new ones to custom BBCodes.
While I appreciate all the effort, I think the "new" look is not something I would add to ABBC3, as the look could be accomplished by swapping out new icons and an invisible background bar.
What I would instead be interested in from your work is:
FYI: It also may be possible to instead make your work into an "Add-On" for ABBC3, wherein it is a stand-alone extension that you can build and maintain yourself, that will replace/overrule ABBC3's templates with your new ones (or use ABBC3's events to inject your own code changes), much like the way ABBC3 overrules phpBB's posting buttons.
Thank you so much Matt for all as detailed explanation, with all this information I will see how to correct all the mistakes I've made. Thank you, this has been a great help.
I'll get to correct these errors and see how to adapt the features you are interested in a new request.
Now I am finishing a new feature that make the bbcode buttons act like switches when we have a selected text. (As the quick-reply of comments works on github) That is, if we have a selected text and the outer or inner edges have the same bbcode when pressed again, this is removed instead of refitting. Although a little more intelligent, as it also works if the selected text is selected bbcode incompletely (I hope you can understand what I mean by my bad English)
So, the first would make to do is delete this branch and make a "Fork" of "develop-3.2.x Branch" ?
I'm attaching the extension with this new feature so that you give a look, although it is not yet finished.
Thank you for all Matt, I'll get to recreate the same without the new Look.
Pablo
2016-05-23 20:14 GMT-03:00 Matt Friedman notifications@github.com:
FYI: It also may be possible to instead make your work into an "Add-On" for ABBC3, wherein it is a stand-alone extension that will replace ABBC3's templates with your new ones (or use ABBC3's events).
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/VSEphpbb/abbc3/pull/31#issuecomment-221123272
I forgot to attach the file. abbc3_3.2.x.zip
You should make a new branch with a new name based off the master branch. The develop-32x branch is for something else, and really only for work that would be incompatible with phpBB 3.1.
Thanks
Ok, I think now is more enjoyable.
Now it works with icons in the folder /images/icons/ (although they are in .png) instead of the FontAwesome. And the feature to sort bbcode is also maintained.
There is the possibility to separating the bbcode into different panels and sub-groups.
To do this, just add some bbcode that must meet the following condition: for Panels: must contain the word "end" and "panel" for Sub-Groups: must contain the word "end" and "group" the words must be separated by the symbol -
for example:
--end-panel-1--
(to indicate that there ends the panel 1)
-end-p1-group-1-
(to indicate that there ends the group 1 of the panel 1)
-end-p1-group-2-
(to indicate that there ends the group 2 of the panel 1)
I attach the extension because now the test fails by .png files and the new migration file.(where new bbcode, the panels and groups and the predetermined order defined)
Regards, Pablo abbc3-beta.zip
Hi, I have made some improvements to the extent that I hope will be to your liking. Please tell me if you want to change what you want.