-
Notifications
You must be signed in to change notification settings - Fork 0
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
Wer chunnt #27
Wer chunnt #27
Conversation
Wer chunnt funktioniert. Doch am dispose der Streams kommt noch eine Fehler meldung.
_vorName, | ||
_nachName, | ||
_pos, | ||
_homeFeedMainEventID, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das sollte eine Liste sein
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was sollte eine Liste sein?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_homeFeedMainEventID oder kannst du mir erklähren für was das gebraucht wird?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
achso...
_homeFeedMainEventID
war vorher _eventID
, was auch ein String war keine Liste. Dieser String _eventID
hatte keine Funktion und ihm wurde kein Wert übergeben. Ich habe diesen String dann umbenannt in _homeFeedMainEventID
, dem der ID des ersten Events im homeFeed übergeben wird. Dadurch wird dann bei diesem Event eingelesen wer kommt und wer nicht.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wenn du dies als Liste haben willst müssten wir einiges ändern gehen und ich denke dass sollte dann als neues Issue aufgemacht werden.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oki
if (messagingGroups[u]) { | ||
await crud0.setData('groups/$u/Devices', userUID, tokendata); | ||
if (messagingGroups != null) | ||
for (var u in messagingGroups.keys) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ist jetzt messagingGroups im Midata group Format? also eine Nr. z.B. 4013 oder Drason (Buebe)? falls zweitens hier die Methode: convWebflowtoMiData(String stufe)
einfügen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
messaging Groups ist noch eine Map<String, bool> mit String = (z. B) Drason (Buebe)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also soweit ich weiss wird der Token unter der Midata Nummer gespeichert, weil als ich die MessagePage angepasst habe, ich die Senderliste fürs verschicken der Nachrichten aus dem Dokument mit der Midata Gruppennummer nehme und nicht aus dem Webflow Namen.
Aber sicher bin ich nicht. Auf jeden Fall habe ich nichts an dem geändert verglichen zum Masterbranch. In diesem Branch habe ich nur am WerChunnt gearbeitet.
info.getBemerkung(), | ||
info.getSender(), | ||
], | ||
if (moreaFire.getPos != "Leiter") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was ich vermeiden möchte ist ein Source-code der 700+ Zeilen hat. Ich finde dies unübersichtlich.
Aus diesem Grund habe ich angefangen das UI und die Logik zu trennen und zu seperieren. Vieleicht müssten wir und mal besprechen was in werches File kommt.
Mein Gedanke:
Die Klasse teleblitzAnmeldungen hat zwei Funktionen:
Stream<List<String>> getTNAngemolden(String eventID);
und
Stream<List<String>> getTNAbgemolden(String eventID);
Die übergeben dem Widget chunt und chuntnoed diesen Stream, der wiederum ein ListView generiert. Kannst du nicht einfach dies umschreiben und die Widgets aus Werchunt verwenden?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aber genau das habe ich ja getan...
WerChunnt macht den stream und teleblitz zeigt ihn als listview an.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja egal, wenn wir am gleichen arbeiten, müsste wir uns in Zukunft besser absprechen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja das denke ich auch. Ich denke wir versuchen so schnell wie möglich eine stabile v.1 herauszubringen und dann können wir ja an der Übersichtlichkeit und Einheitlichkeit des Codes arbeiten.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Habe ein Paar Komentare hinzu gefügt
No description provided.