New Dumbass Module

Dazed
Dazed
@dazed
10 years ago
1,022 posts
This would be a detection system so when you are making changes to say the index.tpl and your changes are not working, the system somehow detects that you have overwritten the file in the ACP Skin. This way you do not spend 20 minutes looking at your code going, "well this should be working?".

Who has not been here before? :)


updated by @dazed: 06/03/14 11:55:35AM
michael
@michael
10 years ago
7,718 posts
yup.

one possible way to implement it is to export the current state of everything into a new skin. With all those implementations out in code.

* If there are changes to the CSS stylings, they go into the skins CSS file.
* If there are module template over-rides they go into the skin as skin file over-rides.
* If there are changes to the skins templates, they become current skin templates.
* and a button in the 'system check' to say if you have any over-rides active.

another one to add in for good measure would be to export any added custom Form Designer fields and package them with the skin too.

It would be useful, i agree. I'll beta test it for you. ;)
brian
@brian
10 years ago
10,148 posts
Another idea is that with developer mode enabled, a special HTML comment tag can be added to the source code to show exactly where each "section" came from.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
10 years ago
1,022 posts
guys this was really a joke since I literally spent 20 mins not realizing I had altered the index page. I try and update my templates directly. I do however like the ideas :)
michael
@michael
10 years ago
7,718 posts
yup, got that too. Nicely posted in the 'off-topic' section. :)

Still would be useful though. and now that you've volunteered to build it were all waiting........ ;)
Dazed
Dazed
@dazed
10 years ago
1,022 posts
I may get into building some stuff eventually. Right now I am focused on C# since the testing automation I write (selenium) is all based on that. I have debated on writing some for JR but my only problem is that I would write it all for PJ which is great to a point but I doubt that the page objects are identical across all skins. I already have a framework built so it would be pretty easy to do.
updated by @dazed: 04/28/14 06:33:12PM
brian
@brian
10 years ago
10,148 posts
Dazed:
I may get into building some stuff eventually. Right now I am focused on C# since the testing automation I write (selenium) is all based on that. I have debated on writing some for JR but my only problem is that I would write it all for PJ which is great to a point but I doubt that the page objects are identical across all skins. I already have a framework built so it would be pretty easy to do.

If you build it as a module, it works across all skins.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
10 years ago
1,022 posts
Hey Brian - I was referring to writing JR automation for regression testing not a new module. My plate is kind of full right now. I am supposed to learn Specflow and Load Testing with Visual Studio Ultimate over the next few weeks. I love how people throw deadlines on you!