Skip to content
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

Unify Build & Manage tabs #7217

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Unify Build & Manage tabs #7217

wants to merge 15 commits into from

Conversation

ClementPasteau
Copy link
Collaborator

No description provided.

@ClementPasteau ClementPasteau force-pushed the unify-build-manage branch 2 times, most recently from c4cc284 to b1c9279 Compare December 4, 2024 15:49
);
};

const getFileNameWithoutExtensionFromPath = (path: string) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work on Windows devices?

@@ -247,17 +244,13 @@ export const PublicGamePropertiesDialog = ({
disabled={isLoading}
canBePublishedOnGdGames={canBePublishedOnGdGames}
/>
{gameUnregisterErrorText && (
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed this to make it an alert, allowing to re-use the same function to register in multiple places without having to handle where to display that errorText in each case

@@ -383,7 +379,6 @@ export const initialPreferences = {
editorStateByProject: {},
fetchPlayerTokenForPreviewAutomatically: true,
previewCrashReportUploadLevel: 'exclude-javascript-code-events',
gamesListOrderBy: 'createdAt',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed the fact that we were saving the orderBy in the preferences, I feel it makes more sense to show always the latest one modified at the top as this will probably be the one you'll work on.

<Text size="body-small" color="secondary">
<Trans>{planCreditsAmount} credits</Trans>
</Text>
)}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those changes were to allow showing the marketing plans even if not logged in (in the performance dashboard)
I keep them for when we'll show the performance dashboard alltogether

if (!name) throw new Error('A name was not chosen before saving as.');
if (!authenticatedUser.authenticated) {
return { wasSaved: false, fileMetadata: null };
}
options.onStartSaving();

const gameId = saveAsLocation.gameId || project.getProjectUuid();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change allows saving the projectUuid on first save of the cloud project, even if not registered.

@@ -171,6 +171,7 @@ export const ResponsiveLineStackLayout = ({
<ColumnStackLayout
id={id}
noMargin={noMargin || noColumnMargin}
justifyContent={justifyContent}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were never passing down the justifyContent to the column, when the mobile size kicks in.
I'm surprised we never needed this. I needed it to design properly a text being centered when going mobile

@@ -261,7 +261,7 @@ export const clearCloudProjectCredentials = async (): Promise<void> => {

export const createCloudProject = async (
authenticatedUser: AuthenticatedUser,
cloudProjectCreationPayload: {| name: string, gameId?: string |}
cloudProjectCreationPayload: {| name: string, gameId: string |}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks to this, we shouldn't created a project without a gameId anymore

fileMetadata,
storageProviderName: storageProviderInternalName,
};
preferences.insertRecentProjectFile(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the fix to show the project in the recent files as soon as it is created with a chosen storage provider

}: {|
project: gdProject,
isRemix?: boolean,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wasn't used

@ClementPasteau ClementPasteau marked this pull request as ready for review December 11, 2024 16:44
@ClementPasteau ClementPasteau requested a review from 4ian as a code owner December 11, 2024 16:44
@Bouh
Copy link
Collaborator

Bouh commented Dec 11, 2024

  • When I'm filtering games by most sessions, click manage on a game, and click Back, the filter is reset.
  • I know tiltes has been removed but well, there is now a lot of unused spaces because of different margins and alignements,
    image
  • When I'm hovering this, I don't know that it is.
    image
  • By clicking on the Twitter icon to share my game I got a sentence that is not existing for the FB button.
  • The email button to share, do nothing.
  • On the pagination, there is no count of the total of pages ?

@Bouh
Copy link
Collaborator

Bouh commented Dec 11, 2024

  • The "Share your game" link on the Analytics does nothing.

  • When I'm creating a leaderboard, then click "Back" the count of leaderboard doesn't change, I need to close the game page and reopen it to see the changes.

  • I converted my USD from ads revenue into credits, but the page didn't change the amout from my wallet, there is an update of the page missing there I guess.

  • Missing "unregister game" ?
    image

@Bouh
Copy link
Collaborator

Bouh commented Dec 11, 2024

  • There is no Analytics visible, but when I'm clicking "See All" I can see them.

image
image

  • Filters are sometimes on left or on right in the interface, maybe use only one side is preferable, remember the "clunky UI" problem 🤔
    image
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants