Found a small bug;

If dev teams exist, the first time you go to the admin panel, the number of
members per team will be listed independently above the actual teams.

The fix for this is to put
devName.clear(); on line 102 at the top of showDevTeams();

However you can see the correct view simply by refreshing the page.

On Fri, May 20, 2011 at 11:21 AM, Scott Ritchie <[email protected]>wrote:

> Additionally if you're wondering about the List kept of urlNames - i made
> the decision to go down that path rather than call showDevTeams() for every
> addition/deletion to keep from reloading every devTeam from the datastore
> each time.
>
>
> On Fri, May 20, 2011 at 11:16 AM, Scott Ritchie <[email protected]>wrote:
>
>> I've attached my new working AdminViewBuilder.
>>
>> Make sure you restart your browser or sign out of mugle before testing to
>> prevent unexpected behaviour between the changes.
>> Now that i've made that work i can use that to make the Badge etc work
>> with similar functionality.
>> Also Should we make a window pop up to confirm the removal of a
>> devteam/badge/game?
>>
>> I'll commit it when i get home tonight and can get on over port 22.
>>
>>
>> On Fri, May 20, 2011 at 9:56 AM, Jens Pfau <[email protected]> wrote:
>>
>>> Ok cool. I am curious what's the problem.
>>>
>>>
>>> On Fri, May 20, 2011 at 9:55 AM, Scott Ritchie <[email protected]>wrote:
>>>
>>>> Right, but from my experience last night when writing similar
>>>> functionality, there were several reasons why objects might not be added to
>>>> the backend, most of the related to how GWT kept track of what you were
>>>> adding through asynchronous calls, so it might be a problem with the UI.
>>>>
>>>> Anyway i've got to a meeting, but im about 10 minutes away from making
>>>> my DevTeam version work, i'll attach it later when i get it done if you 
>>>> want
>>>> to look at it.
>>>>
>>>>
>>>> On Fri, May 20, 2011 at 9:49 AM, Jens Pfau <[email protected]> wrote:
>>>>
>>>>> What I wanted to say is that we probably don't need the same
>>>>> functionality in two places, do we?
>>>>> So maybe you can better focus on something else for now and Prageeth(?)
>>>>> tries to find out why the backend doesn't allow these creations and edits 
>>>>> to
>>>>> happen.
>>>>>
>>>>>
>>>>>
>>>>> On Fri, May 20, 2011 at 9:43 AM, Jens Pfau <[email protected]>wrote:
>>>>>
>>>>>> Yeah they don't work because somehow the backend doesn't want to
>>>>>> create or edit badges/games ;)
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, May 20, 2011 at 9:38 AM, Scott Ritchie <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>> Hi prageeth,
>>>>>>>
>>>>>>> My thoughts on this would be to have the admin be able to edit these
>>>>>>> directly from the respective edit pages.
>>>>>>>
>>>>>>> My new AdminViewBuilder will have it so you can create new devTeams,
>>>>>>> and then when you click on them in the list, you will be taken to the
>>>>>>> respective /devteam/+edit page
>>>>>>>
>>>>>>> Jens, i've taken a quick look at your code and the TODOs are not
>>>>>>> working - so i havent been able to test the functionality of your badge
>>>>>>> list.  So i'll get mine working and see from there.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 20, 2011 at 9:31 AM, Prageeth Silva <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> I would be spending a lot of time on mugle during the weekend, but I
>>>>>>>> do have a progress report due on monday and might work on that from
>>>>>>>> time to time as well.
>>>>>>>>
>>>>>>>> In addition this piece of information is important mainly to Scott.
>>>>>>>> I've added a new class that's AdminDevTeamsViewBuilder (its rather
>>>>>>>> long and we can put it in a separate package).
>>>>>>>>
>>>>>>>> My intentions are to have
>>>>>>>>
>>>>>>>> +admin  - admin tasks common page
>>>>>>>> +admin/users  - shows list of users,etc
>>>>>>>> +admin/teams  - shows list of dev teams,etc
>>>>>>>> +admin/games  - shows list of games,etc
>>>>>>>> +admin/vip - list of promoted games,etc
>>>>>>>>
>>>>>>>> I've made the AdminDevTeamsViewBuilder to be an exact copy of
>>>>>>>> AdminViewBuilder so you should continue working on that class
>>>>>>>> instead.
>>>>>>>>
>>>>>>>> I've also handle url patterns in buildHistoryTokens and left place
>>>>>>>> holders so all we have to do is work on the views.
>>>>>>>>
>>>>>>>> Anyone disagree with the above url scheme. the reason i wanted to
>>>>>>>> break them up is, it might have looked wierd if devteam creation and
>>>>>>>> user creation, etc were on the same page.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Prageeth Silva*
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-- 
Mailing list: https://launchpad.net/~mugle-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mugle-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to